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
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['
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
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
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
> -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=
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
7 matches
Mail list logo