You are here: POST problems « PHP Programming Language « IT news, forums, messages
POST problems

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация