Jump to content

PHP Include Issue


WickedStylis

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.