Re: post and variables
| From: | Adrian Bruce | Date: | Thu, 10 Nov 2005 10:51:41 +0000 |
| Subject: | Re: post and variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225502@lists.php.net to get a copy of this message | ||
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 on php.net if ($_POST['$table_name== 1']) { //do something } Ta, ross