runnerjp Posted May 14, 2007 Share Posted May 14, 2007 hey guys...i have if (file_exists($content)) { include($content); } else {?> <?echo $content;?> in my body.inc.php file so thats any thing that i wanna disply gets displayed in the certain area yes... so then in my include folder ( this is where my body.inc.php is i have index.inc.php ... shouldnt this ( index.inc.php) be displayed where i have inserted the centent script as it does not?? rlly hard to explain so hope you guys got that Quote Link to comment https://forums.phpfreaks.com/topic/51314-solved-content-include/ Share on other sites More sharing options...
runnerjp Posted May 14, 2007 Author Share Posted May 14, 2007 ok this was an easy schoolboy error forgot to add $content = Quote Link to comment https://forums.phpfreaks.com/topic/51314-solved-content-include/#findComment-252733 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.