RE: [PHP-DB] Variable won't be passed from HTTP address bar
| From: | joakim dot andersson at cybercom dot se | Date: | Thu, 24 Oct 2002 08:51:52 +0000 |
| Subject: | RE: [PHP-DB] Variable won't be passed from HTTP address bar | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22651@lists.php.net to get a copy of this message | ||
> Try instead:
>
> if( $_POST['action'] =="test" ){ echo "Test";}
>
> HTH
> Ignatius
This should really be
if( $_GET['action'] =="test" ){ echo "Test";}
since it's a get-request we're dealing with...
Regards
Joakim