Hi, I'm pretty new to PHP; however, I'm faced with an annoying situation. Basically, I have a form on one page, that I would like the user to enter their information, click submit, and have it pass that information into a form on another page, and also submitting.
For example, user enters first and last name in form one, clicks submit, and it passes the data to form two on another page, and also submits the form....possible?
By passing username and password to another form, that will allow
any user on that PC to view the HTML and see the username and password.
For a login, you should direct that to a script by itself that
sets a PHP SESSION. Then, that script can redirect to anywhere
it wants, and the user is "logged-in".
Typically, the username and password are compared on a database (MySQL?)
and then if correct, a SESSION variable is set ... which could be the user ID
or something to identify who is logged in.
The answer to post #5 ... I have no idea what your site is about, or what the forms are,
or if you use a database or not, or what the information is for ... basically, no idea.
So, it's almost impossible to offer anything more than I did.