Re: [PHP] post and variables

2005-11-10 Thread Richard Lynch
On Thu, November 10, 2005 4:39 am, Ross wrote: > 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']) { I believe you want this: if (isset($_POST[$tab

Re: [PHP] post and variables

2005-11-10 Thread Richard Davey
Hi Ross, Thursday, November 10, 2005, 10:39:48 AM, you wrote: > How do I use $_POST with variables. Cant find an example of this > anywhere on php.net > if ($_POST['$table_name== 1']) { if ($_POST['form_element_name'] == 'whatever') There are many examples of this all over the web. You need to

Re: [PHP] post and variables

2005-11-10 Thread Adrian Bruce
if (($_POST['$table_name']) == 1){ //do something } what you have is essentialll looking for a posted value called '$table_name== 1'! Ross wrote: 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

[PHP] post and variables

2005-11-10 Thread Ross
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']) { //do something } Ta, ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht