outkast Posted July 21, 2007 Share Posted July 21, 2007 hi i need a little help...On my site i have a header.php file that calls my header logo stuff from my css. This header appears through out the site on every user page..I wanted to prevent this header from appearing on a specific page so i could have a different css call on that page. How can i do this? by the way, the reason for it being on every page is cause im using a cms. Quote Link to comment https://forums.phpfreaks.com/topic/61045-header-switching/ Share on other sites More sharing options...
AndyB Posted July 21, 2007 Share Posted July 21, 2007 Without any code ... this kind of logic ... set $page accordingly if ($page="differnet_page") { include("different_header_script.php"); } else { include("usual_header_script.php"); } Quote Link to comment https://forums.phpfreaks.com/topic/61045-header-switching/#findComment-303813 Share on other sites More sharing options...
outkast Posted July 22, 2007 Author Share Posted July 22, 2007 Thank you so much. .This will work great. Quote Link to comment https://forums.phpfreaks.com/topic/61045-header-switching/#findComment-304447 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.