I searched, but my question is soooo rookie I still need help.
I want to pass values from one page and display them on the second. It seems like the way to go is with hidden so I am trying that.
Here is my entire first page code for test1.php
<FORM action="test2.php" method="POST" name="Form1">
<TABLE>
<TR>
<TD valign="top">
<font face="verdana,arial" size=2><strong>
<br>
Login
<br><br>
</strong>
</TD>
</TR>
<TR>
<td width=90 ><font face="verdana,arial" size=1>Username: <font color=orange>*</font></td>
<td><input type="text" name="Username" ></td>
</tr>
<tr>
<td><font face="verdana,arial" size=1>Password: <font color=orange>*</font></font></td>
<td><input type="text" name="Password" ></td>
</tr>
<input type="hidden" name="username" value="<?php echo($username); ?>">
<input type="hidden" name="password" value="<?php echo($password); ?>">
<tr valign="top">
<td> </td>
<td><input type="submit" value="Login" name="send" ></td>
</tr>
</table>
</FORM>
Here is my entire second page code for test2.php
<?php
$username = $POST['username'];
$password = $POST['password'];
echo($username);
echo($password);
?>
That's it. PLEASE HELP! Thanks.