PDA

View Full Version : PHP help



Luke
27-02-2011, 10:11 AM
Hey

Right, I need to some regarding a 'register' form.
I currently have a login, and the "username" is the "id" on the users table.

So when they regsiter, i just want them to enter password, email, name and then it says:

"Thank you Bob Smith, your userID is xxxx, you may now login with the password you chose"
I know how to insert the data into the database, but not show the last bit, not sure how to grab the ID of which has just been created for the user if you get me?

+rep to help

Cheers
Luke

Luke
27-02-2011, 12:06 PM
Update: Got it. Closed.

Want to hide these adverts? Register an account for free!