And also for the hidden form.
Do i replace my current form to become hidden form ?
Let's say my current form is
Code:
<input name="player1" type="text" id="player1" size="20" value="<?php if (!empty($_POST['player1'])) echo $_POST['player1'] ?>">
So i change the current one to hidden ?
Code:
<input type="hidden" name="player1" value="<?php echo $_POST['player1']; ?>">
Also for the player2, i change to hidden form too ?
Code:
<input type="hidden" name="player2" value="<?php echo $_POST['player2']; ?>">
The above form will be on Page1 where they input their name.
So on the 2nd page, when i want to show player1 name.
I will type:
Code:
<?php echo $_POST['player1] ?>
I'm not showing player2 name on 2nd page, because i want player1 to enter some data into the 2nd page first. After player1 keyed in the data, and press the submit button to proceed to 3rd page.
That's only when i want it to show player2 name.
And so if the above i said is correct,
On 3rd page, i'll just have to type in this code to show player2 name ?
Code:
<?php echo $_POST['player2'] ?>