WickedStylis Posted October 7, 2009 Share Posted October 7, 2009 Alright so I am building a site for the first time in 4 or 5 years. I used to know a really simple include but I can not remember it for the life of me so I need a little help. Site: http://prophecyofrexxar.com/ I'm using the folowing include <?php include "PHP.html"; ?> Note: The include I used to use was much longer then that, but I don't remember it at all. Here is what I'm wanting to do. When going to the site I want my index.php to show my fusion news posts in the bottom content area.....From there I want to be able to click on links on my page and leave the layout as it is but I want the content area to change to the content page that I click on... does that make sense? I know that the hyperlinks used to look like this (kind of) http://domain.com/index.php?page=test or somthing similiar to that ALSO there was a part of the code that made it so if someone tried to access a non existent page it would display a custom error page I know this doesn't make a lot of sense, but is there anything that you can think of that I may be talking about? Link to comment https://forums.phpfreaks.com/topic/176855-php-include-issue/ Share on other sites More sharing options...
WickedStylis Posted October 7, 2009 Author Share Posted October 7, 2009 I remember the include was a little different too... <?php include ($"page.html"); ?> Somthing closer to that for the include itself Link to comment https://forums.phpfreaks.com/topic/176855-php-include-issue/#findComment-932518 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.