How to make mysql_insert_id work
Posted: Wed Jun 05, 2002 8:43 pm
I am inserting data into one table where an auto_increment id is formed. I want to place this same id into a second table. I have tried using mysql_insert_id and last_insert_id but always get a "0". The first table is incrementing as it should, but I can't seem to capture this value.
Any thoughts?
I have read and tried suggestions from mysql and php.
Ron
Any thoughts?
I have read and tried suggestions from mysql and php.
Ron