arwvisions Posted January 23, 2009 Share Posted January 23, 2009 I have an include menu that is the same one all pages, but I would like the add some info to the menu only on the about us page. How would I do this? Link to comment https://forums.phpfreaks.com/topic/142187-solved-info-on-one-page-but-not-another/ Share on other sites More sharing options...
gevans Posted January 23, 2009 Share Posted January 23, 2009 define every page, so for about us define('PAGE','about_us'); Then in the included file; <?php if(PAGE == 'about_us'){ //do this } Link to comment https://forums.phpfreaks.com/topic/142187-solved-info-on-one-page-but-not-another/#findComment-744829 Share on other sites More sharing options...
arwvisions Posted January 23, 2009 Author Share Posted January 23, 2009 Perfect!! thanks so much Link to comment https://forums.phpfreaks.com/topic/142187-solved-info-on-one-page-but-not-another/#findComment-744835 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.