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? Quote Link to comment 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 } Quote Link to comment Share on other sites More sharing options...
arwvisions Posted January 23, 2009 Author Share Posted January 23, 2009 Perfect!! thanks so much Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.