Posted by Ant on 10/30/24 11:30
Howdy,
I'm creating a register form which passes some user values to my php file
using POST
here's the code:
form name="register" method="post" action="register.php">
<tr>
<td>User Name:</td>
<td><input name="user_id" type="text" value="" size="20"/> </td>
</tr>
in my php file I'm trying to get the value of user_id by doing this:
$user_id = $_POST["user_id"];
but when I echo $user_id nothing appears so I guess the value isn't be
passed as I woud expect.
I'm sur eI'm making a very elementary mistake but I just cannot figure out
what's wrong?
Any help much appreciated.
Thanks
Navigation:
[Reply to this message]
|