csgcarl Posted May 10, 2007 Share Posted May 10, 2007 Hello, I have a gaming website(script)... but with new consoles coming out all the time we need an easy way to add new links/edit links without editing every page... any one got any ideas how this can be done? Regards, Carl Link to comment https://forums.phpfreaks.com/topic/50824-menu-links-script/ Share on other sites More sharing options...
taith Posted May 10, 2007 Share Posted May 10, 2007 put your links in a seperate file... then include/require it into multiple pages... then... you change on one page, it changes it everywhere :-) Link to comment https://forums.phpfreaks.com/topic/50824-menu-links-script/#findComment-249917 Share on other sites More sharing options...
csgcarl Posted May 10, 2007 Author Share Posted May 10, 2007 Hello taith, Thanks for a fast reply. Could you tell me what code I would have to use like tags? etc? please. Carl Link to comment https://forums.phpfreaks.com/topic/50824-menu-links-script/#findComment-249928 Share on other sites More sharing options...
taith Posted May 10, 2007 Share Posted May 10, 2007 include('yourfilepath.php'); Link to comment https://forums.phpfreaks.com/topic/50824-menu-links-script/#findComment-249934 Share on other sites More sharing options...
csgcarl Posted May 13, 2007 Author Share Posted May 13, 2007 so I out that on the page where I would want the nav bar to go and make another php page? with the code for the nav menu? Link to comment https://forums.phpfreaks.com/topic/50824-menu-links-script/#findComment-252292 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.