You are here: Re: [PHP] Re: post and variables « PHP « IT news, forums, messages
Re: [PHP] Re: post and variables

Posted by Jochem Maas on 11/10/05 13:06

Ross wrote:
> Sorry I got confused. I am using variable variables.
>
> Disregard.
> ""Ross"" <ross@aztechost.com> wrote in message
> news:08.40.45231.35323734@pb1.pair.com...
>
>>Thanks fpr all the feedback on the password but I have another one...
>>
>>How do I use $_POST with variables. Cant find an example of this anywhere
>>on php.net
>>
>>
>>if ($_POST['$table_name== 1']) {

$tablename = 'yourtable';

if (isset($_POST[ $tablename ]) && $_POST[ $tablename ] == 1) {
echo $tablename, ' has been selected';
}

>>
>>//do something
>>
>>}
>>
>>Ta,
>>
>>ross
>
>

 

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

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