Hi all,

After I insert a row in table1, the value of the auto_incremented
field should also be put in table2.
How should I do this?
I've tried putting 'mysql_insert_id()' after the insert-command
but no success, it seems that this value restarts from 0 every new


Juan :o)

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to