Need to get that ID as inserting info into table

admin

Administrator
Staff member
First, i am using mysql database
I am looking to get that primary key
( at this point its 'id' in my tables )
as i insert the information into my tables. I am thinking of adding another column to my table which will contain a unique number
it will be inserted into my table with all the other info and then search my table for a row with that number. there u go
but i think there is a better idea that will tell u the id of just inserted row, not "last created" because its a multi user script.

THanx a lot, seriously !!!!

peace
 
Back
Top