Se vuoi ottenere da mysql, dopo una qualsiasi query, l'ultimo id inserito in modo autoincrementale senza dover eseguire una nuova query, basta richiamare la seguente funzione: mysql_insert_id(); a te poi stamparlo con un echo a fare le assegnazione del caso. | If do you need to have from mysql, after your query, the last autoincremental id whitout another query, put in your code the next funcion and write the relative echo or variable. mysql_insert_id();
|