Reply to Re: getting variables from <FORM>...

Your name:

Reply:


Posted by Chris B on 06/14/05 01:42

Domestos wrote:
> Hi all - please help...
>
> using <FORM> HTML tag for user input and need to get get data from it and
> store in php variable...
>
> <input type="text" name="user_name" size="18" maxlength="16"
> class="input_left" tabindex="11" />
>
>
>
> using the following to try and get user_name, but $user_name comes back
> blank in both cases...
>
> $user_name=$HTTP_POST_VARS['user_name'];
>
> $user_name=$_POST['user_name'];
>
>
> TIA


The <form> action points to the file those last lines are in?
Is the <form> method set to "post"?

[Back to original 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

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