Re: post and variables
| From: | Richard Davey | Date: | Thu, 10 Nov 2005 10:53:34 +0000 |
| Subject: | Re: post and variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225503@lists.php.net to get a copy of this message | ||
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 look
harder. Try Google for "beginners guide to PHP".
Cheers,
Rich
--
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk