you can you the Mysql MAX function, I believe
Select Max(ID) from Table;

Also, you may want to look at PHP's mysql_insert_id(), (if you are trying to
find the id number after an insert (if that's what you want)).


"Chris Schoeman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I want to make a query in a mysql database with as result
> the row with the highest id number. How can I do that?
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to