so i have this: mysql_query(“INSERT INTO…”); I was wondering after you’ve inserted if you could echo out the id of the column you have inserted, or should i SELECT and that all around again?
so i have this: mysql_query(INSERT INTO…); I was wondering after you’ve inserted if you
Share
You can use this function: mysql_insert_id() – Gets the ID generated in the last query
More info here