I'm trying to create a new row, in which the image name is the same as the recordID (plus '.png'). The recordID is an auto-incremented int.
This makes a new record:
mysql_query("INSERT INTO record (name,age) VALUES ('$name','$age'')");
..and this gets the recordID:
$newRecordID = mysql_insert_id();
but how do stick the recordID's value into a image_name column (plus '.png'), without having to search for it again?