Forward variables to the next page?
Posted: Sun Feb 01, 2004 11:54 pm
Hi,
What I have is a registration form, which when submitted goes to a php script which then validates the data (checks lengths and makes sure no invalid chars are used, checks validity of email addy, etc) and if it is valid it submits the data to mysql, an account is made, and you go to the next page.
If it is not valid, it sends you back to the calling form so you can fill it in properly. I would like to carry the correct values across to the calling form should something be wrong, to help speed up the re-entry.
Is this possible, and if so, how?
Thanks
What I have is a registration form, which when submitted goes to a php script which then validates the data (checks lengths and makes sure no invalid chars are used, checks validity of email addy, etc) and if it is valid it submits the data to mysql, an account is made, and you go to the next page.
If it is not valid, it sends you back to the calling form so you can fill it in properly. I would like to carry the correct values across to the calling form should something be wrong, to help speed up the re-entry.
Is this possible, and if so, how?
Thanks