Re: [PHP] tabbed navegation PHP

2007-03-31 Thread Richard Lynch
You've not quite caught the trick of the difference between == and = if ($page_name = 'default') does not TEST $page_name -- It changes it, and then returns the new value. So, pretty much, your $page_name will ALWAYS be 'default' after you hit this line, no matter what it started out as. When

Re: [PHP] tabbed navegation PHP

2007-03-31 Thread Jim Lucas
Dwayne Heronimo wrote: Dear All, I have made a tabbed navegation with CSS. And if you set class="active" to one of the tabs, it will then be highlighted. So I thought to make this dymamic with PHP. Using the $_GET variable I can get the page name above with something like. $page_name = $_GET['

Re: [PHP] tabbed navegation PHP

2007-03-30 Thread tedd
At 3:05 PM +0200 3/30/07, Dwayne Heronimo wrote: Dear All, I have made a tabbed navegation with CSS. And if you set class="active" to one of the tabs, it will then be highlighted. So I thought to make this dymamic with PHP. Using the $_GET variable I can get the page name above with something li

Re: [PHP] tabbed navegation PHP

2007-03-30 Thread Dwayne Heronimo
you are right.. i still need to learn alot.. ;) this is my first php site. :-( ""Zoltán Németh"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 2007. 03. 30, péntek keltezéssel 15.05-kor Dwayne Heronimo ezt írta: >> Dear All, >> >> I have made a tabbed navegation with CSS. And if

Re: [PHP] tabbed navegation PHP

2007-03-30 Thread Zoltán Németh
2007. 03. 30, péntek keltezéssel 15.05-kor Dwayne Heronimo ezt írta: > Dear All, > > I have made a tabbed navegation with CSS. And if you set class="active" to > one of the tabs, it will then be highlighted. > So I thought to make this dymamic with PHP. Using the $_GET variable I can > get the p

RE: [PHP] tabbed navegation PHP

2007-03-30 Thread Edward Kay
> -Original Message- > From: Dwayne Heronimo [mailto:[EMAIL PROTECTED] > Sent: 30 March 2007 14:06 > To: php-general@lists.php.net > Subject: [PHP] tabbed navegation PHP > > > Dear All, > > I have made a tabbed navegation with CSS. And if you set > class=

[PHP] tabbed navegation PHP

2007-03-30 Thread Dwayne Heronimo
Dear All, I have made a tabbed navegation with CSS. And if you set class="active" to one of the tabs, it will then be highlighted. So I thought to make this dymamic with PHP. Using the $_GET variable I can get the page name above with something like. $page_name = $_GET['page'] ; so I can tell th