[thelist] Demon don ¹t like my query strings

Kasimir K evolt at kasimir-k.fi
Wed Jun 30 09:56:32 CDT 2004

> Here's the issue:
> I want to load different fragments into my profile page using
> profile.php?id=n.
> The first line in the page is <?php if (!isset($id)) $id = 1; ?>
> Because it didn't work I tested it with <?php echo $id; ?> and the output is
> always 1.

> Anyone have any ideas what may be happening. 

It might be happening because PHP directive register_globals is off. Try 
using $_GET['id'], that should do the trick.


More information about the thelist mailing list