use
$_GET[id]
in the place of $id for each instance. Like if you had $new = $id + 1
change it to $new = $_GET[id] + 1
and such...
Adam
On Wed, 4 Sep 2002, Kelly Meeks wrote:
> Hi folks,
>
> I might be late to the game with these questions, but I've just been bit by the
>register_globals=off situation.
>
> I'm trying to figure out the scope of what I need to change to accomodate
>register_globals=off, and I need some help.
>
> Looking around php.net, for example:
>
> 'If register_globals = on, the url http://www.example.com/test.php?id=3 will produce
>$id.'
> I can only assume with register globals being set to off, the reverse of this would
>be true. If so, how do I get the value of id in that case?
>
> Kelly
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php