php calling navigation menu
I am trying to move my navigation bar into an external php file. So far I have moved it over and names it "navigation.php" and saved it in my root directory.
When i try to call the navigation with my html page nothing appears?
<?php include("na开发者_Python百科vigation.php");?>
Any help appreciated!
Change the name of your index.html file to index.php. Your index file actually is interpreted as HTML, not as PHP.
is any other php code in your html page executed? if you just echo something, is it shown?
精彩评论