Re: running a script
| From: | John Nichel | Date: | Tue, 03 Aug 2004 19:55:37 +0000 |
| Subject: | Re: running a script | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192604@lists.php.net to get a copy of this message | ||
On Tuesday 03 August 2004 15:24, Aaron Todd offered up the following tid-bit
of information :
> Thanks for the tips.
>
> After clicking
> http://www.mydomain.com/processForm.php?id=<some id> is
> 'id' a variable containing 'some id'. Can I access that by '$id'
>
> I am just trying to figure out how to write the SELECT statement for that
> script. I am guessing, but I would do:
> "SELECT * FROM temp_users WHERE ID=$id"
>
> Thanks again.
>
> Aaron
If you have register_globals on, you can access it via $id, otherwise use
$_GET['id']
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com