Need some help with (php?menu=)

Hello,

My Topmenu isnt working anymore after i’ve switched webservers. When i click any of the buttons it jumps back to my main window.

Am i doing something wrong? or is my Service provider (Deutsche Telekom) not allowing me to use this kind of php?

Thanks in advance,
Jerome

Here is the complete code of my index.php:

[php]<?php
if(IsSet($menu))
{
print"$menu.jpg";
}
else
{
print"home.jpg";
}
?>">

<?php
if(IsSet($menu))
{
include “$menu.php”;
}
else
{
include “home.php”;
}
?>[/php]

[php]
{
include “$menu.php”;
}
[/php]
You are trying to include a variable here and not a page.
This should like more something like this… :
[php]
include(“menu.php”);
[/php]

My Topmenu isnt working anymore
You are asking help for your menu but you provide your index.php Can you please post your menu.php As far as I have noticed you are using a switch,.. but we need some more information :D

and this bit is not correct:
[php]if(IsSet($menu))[/php] don’t use any caps in the word ‘isset’ :wink:

Sponsor our Newsletter | Privacy Policy | Terms of Service