Hey All!
I've attempted to make a "Back" button to connect my scripts together in a more coherent way.
On Page 1, I've got a hidden value that is passed to Page 2 named "summary_or_detail". Its value is 1.
On Page 2, I retrieve $_POST['summary_or_detail'] and store it to $hiddenSumOrDetail. I pass that to Page 3.
On page 3, I have the Back button that returns you to Page 2. The button looks like this:
<form action="ShareholderSelection.php">
<input type=hidden name="summary_or_detail" value=1>
<input type=submit value="Back">
</form>
I receive a Notice: Undefined index: summary_or_detail in /var/www/NovaDB/ShareholderSelection.php on line 4. When I try to go back to page 3 from page 2, it becomes clear that the hidden value was not originally passed from page 3 to 2. Any suggestions or should I post more code? Is there something fundamental I'm missing?
As always thanks for your time.