fareedreg Posted January 19, 2010 Share Posted January 19, 2010 how can we add menu to php file Link to comment https://forums.phpfreaks.com/topic/189008-add-menu/ Share on other sites More sharing options...
Buddski Posted January 19, 2010 Share Posted January 19, 2010 ... Please be more specific in your questions.. And at least have some code to show us... We dont know what you are doing or how you are trying... Its all in the specifics.. Link to comment https://forums.phpfreaks.com/topic/189008-add-menu/#findComment-997903 Share on other sites More sharing options...
fareedreg Posted January 19, 2010 Author Share Posted January 19, 2010 I would like to add external menu to my php project. COZ if i add menus through HTML in each page then further requirement of added other pages will change all of my previous pages. I want menus to be added externally. Is it possible in php? ... Please be more specific in your questions.. And at least have some code to show us... We dont know what you are doing or how you are trying... Its all in the specifics.. Link to comment https://forums.phpfreaks.com/topic/189008-add-menu/#findComment-997905 Share on other sites More sharing options...
Buddski Posted January 19, 2010 Share Posted January 19, 2010 You can simply create your menu in a document.. Then wherever you want to use it just do. include('menu.php'); Then you only have to change it in one place.. Is that what you mean? Link to comment https://forums.phpfreaks.com/topic/189008-add-menu/#findComment-997906 Share on other sites More sharing options...
4554551n Posted January 19, 2010 Share Posted January 19, 2010 Check this out http://www.tizag.com/phpT/include.php this should help ya... Link to comment https://forums.phpfreaks.com/topic/189008-add-menu/#findComment-997966 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.