basically i have just run a INSERT statement which has added a new user to the database. This person was assigned an ID by mysql from the auto increment function.
Is there a way i can obtain that exact ID without running another select statement to find it. example of what i want below:
$sql=mysql_query("INSERT INTO people SET F_Name='$REQUEST[fname]', S_Name='$REQUEST[sname]' ");
$theid=GETIDFROMTHATSTATEMENT (or whatever 😉 )
cheers,
hugh