Actually, what i'm looking for is suppose i've got the following in my table.
mid name
2 John Doe
3 Puff Daddy
4 Tito Jackson
Now, I don't want to get the id of the last insert. I want to query the last mid on a static table. Nothing is going into it on this particular page.
So, if I did a mysql_num_rows, i'd get 3 whereas the mid I want is 4.
Thanks for your suggestion though. Any other ideas?
Marco