|
Posted by Kimmo Laine on 06/30/05 00:17
"Lester3" <no@spamthanks.com> kirjoitti
viestissδ:WHDwe.8107$5D4.5070@newsfe4-win.ntli.net...
> i'm quite new to php so forgive me if this looks obvious, i'm trying to
> create this menu tree but struggling, could somebody have a look? i'm
> declaring variables by saying for example:
>
> page.php?page=products&sub=ipdb
>
> hope you can help,
You forgot to say what the problem was, but as I look into my crystal ball,
it would seem you are having trouble with $page not being "products" and
$sub not being "ipdb" and you are wondering why.
A wild guess is that you are using a more secure php installation, than what
was used to create the example(?). Instead of being directly accessible
variables, your variables via url can be found in $_GET['page'] and
$_GET['sub'].
If I answered to wrong question, it's merely because you didn't ask anything
and my crystal ball is malfunctioning.
--
"I am pro death penalty. That way people learn
their lesson for the next time." -- Britney Spears
eternal.erectionN0@5P4Mgmail.com
[Back to original message]
|