I want to do that after submitting form it will insert in a table. the table has auto increment field. name of the field is ID. Now how can I get the ID number of that inserted data's ID number. for example
I have a table which field are as bele
1. user_ID as auto increment number
2. user_name as varchar
3. father_name as varchar
No I want that When I submit a form which has user name & father name text box. It will be inserted in the table. After inserting those data It will show me the ID of that user. remember user_name is not uniq. I know how to insert.
Just tell me how can I get the ID. Thank u