Re: request what a user clicked
| From: | Richard Lynch | Date: | Tue, 03 Sep 2002 18:29:57 +0000 |
| Subject: | Re: request what a user clicked | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-115070@lists.php.net to get a copy of this message | ||
>what is php's request object?
>like in ASP - Request("variable")
$_REQUEST['variable']
Or, if you want to distinguish between GET and POST:
$_GET['variable']
$_POST['variable']
In the future, if you're not sure where/how PHP is going to give you data,
this function will *TELL* you:
<?php phpinfo();?>
Throw that into any script at any point, and it will spew out everything you
could possibly need to know about your variables.
--
Like Music? http://l-i-e.com/artists.htm