Como saber el ID del último registro insertado en PHP

Simplemente llamando a esta función mysql_insert_id() obtenemos el id del último registro insertado en el último mysql_query ejecutado.

No hay comentarios

Leave a reply

You must be logged in to post a comment.