Is it in any way possible to make a new row in a table using INSERT and at the same time get back the ID of the newly created row?
This is usefull if I want to make a foreign key in an other table with this ID.
I use Mysql.
$sql = "INSERT INTO ANMELDELSE (NAVN, PLADESELSKAB)
VALUES ('$navn', '$pladeselskab_id')";
This is usefull if I want to make a foreign key in an other table with this ID.
I use Mysql.
$sql = "INSERT INTO ANMELDELSE (NAVN, PLADESELSKAB)
VALUES ('$navn', '$pladeselskab_id')";