tko333 Posted March 24, 2007 Share Posted March 24, 2007 im having some problems installing php include on my website: http://www.cpl.crackys.clanservers.com i need to have the news show when you go to the site, then when you click on a link, the content shows on the layout. ive tried several different codes but none of them work. Quote Link to comment https://forums.phpfreaks.com/topic/44175-php-include/ Share on other sites More sharing options...
cmgmyr Posted March 25, 2007 Share Posted March 25, 2007 it looks like your news section is in the middle, do you not want it there? can you give some more details and maybe some code? Quote Link to comment https://forums.phpfreaks.com/topic/44175-php-include/#findComment-214542 Share on other sites More sharing options...
tko333 Posted March 25, 2007 Author Share Posted March 25, 2007 yeah lol...also my fusion news and phpbb got hacked :-\ anyway, i want the news to be there when you go to the site, which it does that. then i want it so if you click on a link in the navigation the layout is there. i tried using what my old site had, but it didnt work. with the links as index.php?page=whatever.html and the middle being as <?php include ("$page"); ?> Quote Link to comment https://forums.phpfreaks.com/topic/44175-php-include/#findComment-214621 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.