Hi,
I'm stuck on sending variables to another page and then printing them can someone have a look at the code for me please.
This is on page 1:
the form goes like this
<input name="user" type="text" id="user" value=<?php $user?>>
This then runs a script that checks if the user is registered and then he/she is verified.
$user=$_POST['user'];
I want to post the to the 2nd page via
header("location:secondpage.php") and also the other pages in the members area. The user name should be printed out and posted.
I have tried header("location:secondpage.php?".$Post['user']:"");
Tried echo to print the user in the second page but doesn't seem to work any ideas.
thanks in advance
I'm stuck on sending variables to another page and then printing them can someone have a look at the code for me please.
This is on page 1:
the form goes like this
<input name="user" type="text" id="user" value=<?php $user?>>
This then runs a script that checks if the user is registered and then he/she is verified.
$user=$_POST['user'];
I want to post the to the 2nd page via
header("location:secondpage.php") and also the other pages in the members area. The user name should be printed out and posted.
I have tried header("location:secondpage.php?".$Post['user']:"");
Tried echo to print the user in the second page but doesn't seem to work any ideas.
thanks in advance
Comment