Re: mysql, finding the last record
| From: | Jason Wong | Date: | Fri, 26 Sep 2003 17:09:30 +0000 |
| Subject: | Re: mysql, finding the last record | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30710@lists.php.net to get a copy of this message | ||
On Saturday 27 September 2003 01:04, John Ryan wrote:
> is there any quick way of selecting the 'last' row in a mysql table?? i
> could write some messy code but id prefer an elegant solution.
mysql_num_rows()
mysql_data_seek()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
Sometimes when you look into his eyes you get the feeling that someone
else is driving.
-- David Letterman
*/