Hi,
Does anyone know what I should use for the liink ID in mysql_insert_id to return the auto-incremented value?
$mysql_access = mysql_connect("localhost", "***dipfd", "****t");
mysql_select_db("*****", $mysql_access);
$res_result = mysql_query("INSERT INTO reservations VALUES (NULL, '$firstname', '$lastname')");
echo mysql_insert_id("????????");
Thanks,
Asa Carter