last record of mysql table
| From: | Ivan Balazs | Date: | Tue, 09 Oct 2001 20:19:00 +0000 |
| Subject: | last record of mysql table | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13159@lists.php.net to get a copy of this message | ||
Hi all!
Problem: I'd like to get the last inserted record of a table in a mysql
database. In other words: to obtain the last row of the table.
Specifically the thing is this: I'm making an adveritsement site, and I'd
like to get the latest ad submitted.
Question: how to do that?
Thanx
Balazs