ofmyst Posted August 7, 2008 Share Posted August 7, 2008 When I change my .html file to a .PHP to access my mysql database my object menus stop working. The code for bringing in the menus are: <!--#include virtual="/menus/botmenu.html" --> It has something to do with the extension change from .html to .php and not the php scripting, since when I take the scripting out it still does not work, but when I change the extention back to .html it does. Any suggestions? Thank you! Sharon Link to comment https://forums.phpfreaks.com/topic/118549-php-and-virtual-object-menus-my-php-extension-interfering-with-menu/ Share on other sites More sharing options...
ofmyst Posted August 7, 2008 Author Share Posted August 7, 2008 Still trying but no sucess. Does anyone have a thought on what I am doing wrong? Link to comment https://forums.phpfreaks.com/topic/118549-php-and-virtual-object-menus-my-php-extension-interfering-with-menu/#findComment-611184 Share on other sites More sharing options...
ofmyst Posted August 7, 2008 Author Share Posted August 7, 2008 I tried replacing <!--#include virtual="/menus/botmenu.html" --> with <?php virtual ("http://www.sharondross.com/menus/botmenu.html"); ?> and not only did that not work but it stopped the remainder of the page from loading Link to comment https://forums.phpfreaks.com/topic/118549-php-and-virtual-object-menus-my-php-extension-interfering-with-menu/#findComment-611198 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.