I have a table with a primary key (column is called mid) which auto increments.
How do I find the last mid. I thought I could use mysql_num_row but if something is deleted, then:
mysql_num_row != highest mid
Anyone tell me the easiest way to get the highest mid?
I looked in the php manual and I didn't see anything that might help me out.
Thanks,
Marco
How do I find the last mid. I thought I could use mysql_num_row but if something is deleted, then:
mysql_num_row != highest mid
Anyone tell me the easiest way to get the highest mid?
I looked in the php manual and I didn't see anything that might help me out.
Thanks,
Marco