include statement not working
Posted: Mon Sep 04, 2006 5:43 pm
hi all..
I am using include statement to include("menu.php") in my index page(index.php and menu.php are in the same directory). then i have sports/cricket/cricket.php. when i use include statement like include("/menu.php") in sports/cricket/cricket.php, i am NOT getting the menu. whats wrong with this statement ? but the menu works fine in the index.php page.
thanks..
I am using include statement to include("menu.php") in my index page(index.php and menu.php are in the same directory). then i have sports/cricket/cricket.php. when i use include statement like include("/menu.php") in sports/cricket/cricket.php, i am NOT getting the menu. whats wrong with this statement ? but the menu works fine in the index.php page.
thanks..