Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP and MySQL
- Colin Roosendaal
October 30, 2005, 5:49 pm
rate this thread
- Beauregard T. Shagnasty
October 30, 2005, 7:36 pm
Re: PHP and MySQL
It depends on how "last five records" is defined.
Is there a date field in the database?
Is there a numeric, auto-incremented ID field?
In other words, is there any field which can be used to track what field
was most recently added?
Is "most recently added" the ones you want? Or do you just want the bottom
five rows after a particular ORDER BY clause has been applied?
Also, this is *really* not an HTML question. Try alt.php or alt.php.sql
or comp.lang.php or other closer-to-on-topic group for more help.
JDS | email@example.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon /