Nubee here

How do I find the last record in the database and have it's ID value
in the controller and be able to manipulate it mathematically.

Because all i want to do is put the ID of the last record of the
Clients table add 1 to it and append the result to a string that will
be used to create the Client account number.

Also if I want to create my own custom functions or classes to add to
my cake APP how do I do that.

Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to