Hello everyone, I know this is probably an oft asked question but I have been struggling with it for quite some time. I have a web page that has select boxes for user input and of course select buttons that send the data to the server via url. I want the user to have the same page returned with new information based on his selection, see:
http://www.musiconguitar.com/chords.php
Everything works fine except when you use the REFRESH or BACK button of the browser, this causes the data to be lost.
What is the best way to solve this problem?
Cheers,
Jacques
keeping data when refreshing web page
Moderator: General Moderators
-
internet-solution
- Forum Contributor
- Posts: 220
- Joined: Thu May 27, 2010 6:27 am
- Location: UK
Re: keeping data when refreshing web page
Last edited by internet-solution on Mon Jul 19, 2010 8:20 am, edited 1 time in total.
Re: keeping data when refreshing web page
try $_SESSION or $_COOKIE variables