Hi-
I'm creating a Registration form with database connections. I've done PHP forms, DB connections, cookies, etc (nothing I would call advanced) before.
I have the registration page, and when you hit submit it goes to 'do_registration.php'. My question is, while in the 'do_registration' page, and I hit a "bad email" or "username taken", I want it to go back to the registration page, display an error message based on what was wrong. How do I pass the variables for each of those fields back to the registration page and then when they correct it, hit submit, back to the do_registration.
If I'm not making sense, let me know. Thanks in advance!