I trying to find the command which tells you the last auto index after an insert query to a database, i know there is one i sae it yesterday, just cant find it again today.
Any help greatly appreciated
It depends on the database system that you use, and the programming interface.
For example, with MySQL you might use: [man]mysql_insert_id/man [man]mysqli_insert_id/man PDO::lastInsertId()
The last of which is applicable to other database systems when using the PDO interface.
cheers thats it! mysql_insert_id()
shoudl write these things down really!