I have a table that I would like to retrieve and display the next auto-increment 'id' attribute.
$id = mysql_insert_id();
works AFTER insert. Though I want to display this information without inserting anything.
What would be the best way to do this?