I want to find the number of the highest primary key in a particular
MySQL table.

I could do something like...

$query = "SELECT id FROM table";

...then run the query, then create a loop and check all the ID's
(primary key) for the highest...

...but that seems like way too much.

Any ideas ??

Reply via email to