I need to preserve some values over several pages. I want the user to
enter his username, password and the IP address of the MySQL server at
the beginning of a series of pages. I want all the pages to know these
values. I want all the pages to display these values so the user can
change them or not.
The "series" of pages is an HTML page that gathers this information.
This is sent to a PHP server page. The server page may have to re-load
itself if the user chooses to re-sort the data. If I had it the way I
want it, the username, password and IP would be gathered in the HTML
page at the beginning and be available to the server page even when it
re-loads itself. I also want the HTML page (if visited again) to
display the original values in the text boxes.
I have tried $_POST, hidden variables within forms, $GLOBAL (which I
couldn't get to work at all) and probably some other ways to do this.
Needless to say, I couldn't get the results I wanted from any of these.
HELP!