You are here: Re: menu problem.. « PHP Language « IT news, forums, messages
Re: menu problem..

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

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация