
- You are not logged in. | Login
November 16, 2006 9:48 pm
- sirburpsalot
- Member


another interesting problem
I've got another problem I can't figure out.
When I fill in an order form, it writes that data to my tables, and I want to then output that order back to the users. The table uses an auto-increment on the ID field, but how do I now what the new index is when I post the new record?
November 23, 2006 1:21 pm
- senjor_itc
- Member


Re: another interesting problem
Hi,
Try to use mysql_insert_id($db_link) after inserting the data into tables. This function will return the last ID of auto increment field.
Thanks


