开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜