Sunday, June 28, 2009

Retrieve getID(), does not work

$last_id = $this->Pdf->getID();

Is this the proper way of getting the latest ID on a table? (NOT after save), just want to get the latest ID.
--
Louie Miranda (lmiranda@gmail.com)
http://www.louiemiranda.net

Quality Web Hosting - www.axishift.com
Pinoy Web Hosting, Web Hosting Philippines

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: