displaying latest DB entries
| From: | Jamie Saunders | Date: | Thu, 19 Jul 2001 19:49:35 +0000 |
| Subject: | displaying latest DB entries | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58780@lists.php.net to get a copy of this message | ||
Hi,
I've got a MySQL database setup with several different tables. What I'd
like to do is to display the last five records entered into the database. I
can do this easily from one table just by listing the records with the five
highest IDs, but how can I do this over several tables? I don't want to
list the last 5 records entered from each table but from the whole database.
Is there any easy way of doing this?
Thanks.
Jamie Saunders
web.scripting@btinternet.com