Pass variable values and database connection to next page
Posted: Sun Jul 20, 2003 10:00 am
Hi, Guru,
I am new in PHP. I am playing PHP with MySQL and Apache. The problem I have is:
I use FORM to get query parameters entered from Web page. After users click on "submit", they will get the login page. I can get the parameters they entered on this page. But I don't know how to keep those parameters after they login the database.
I can also choose to let them login the database first, then prompt them to enter the parameters. But this way, after they submit, the connection to the database gets lost.
I know that this is simple question and there must be a solution to it. But I could not find it.
Help needed. Thank you in advace.
-MY
I am new in PHP. I am playing PHP with MySQL and Apache. The problem I have is:
I use FORM to get query parameters entered from Web page. After users click on "submit", they will get the login page. I can get the parameters they entered on this page. But I don't know how to keep those parameters after they login the database.
I can also choose to let them login the database first, then prompt them to enter the parameters. But this way, after they submit, the connection to the database gets lost.
I know that this is simple question and there must be a solution to it. But I could not find it.
Help needed. Thank you in advace.
-MY