I've designed a site for a client and it works fine when I use it off my own server, however when I upload it to his the code messes up.
The url contains id=school and the code has $id to pull the code from the right file (called in this instance school.php)
but I now get this error message when I run the site from the new server.
Warning: main(assets.newsite/menu//index.php): failed to open stream: No such file or directory in /usr/home/gavinm/public_html/production/sectional.php on line 33
Warning: main(): Failed opening 'assets.newsite/menu//index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/gavinm/public_html/production/sectional.php on line 33
in the (assets.newsite/menu//index.php) double slash bit is the $id which just crashes out.
Is there a server problem (ie php not up to date) or is it something in the code.
I hope someone can help me out here.
thanks in advance
phil