clown[NOR] Posted April 9, 2007 Share Posted April 9, 2007 Hi again ppl! Well, I'm back with another question.. I've always been wondering how to do this.. ok.. let's start.. Let's say the dir tree looks like this ROOT |-index.php |-about.php |-products.php now i've seen on some websites they use the filename as link.. <a href="about.php">Link here</a> and when you click that link the about.php appears, but it still looks like the first page, only change is the content. so my question here is.. is everything in index.php & about.php identical except the info content that changes from news to about? or is there away to include it anyway? wow I suck at explaining.. anyone who understands what I'm talking about? Link to comment https://forums.phpfreaks.com/topic/46221-link-seperate-php-files/ Share on other sites More sharing options...
PC Nerd Posted April 9, 2007 Share Posted April 9, 2007 um, well if your using the next page simply to display different content, but same format then its your html otherwise i dont know what your asking! Link to comment https://forums.phpfreaks.com/topic/46221-link-seperate-php-files/#findComment-224721 Share on other sites More sharing options...
clown[NOR] Posted April 9, 2007 Author Share Posted April 9, 2007 let's use thisone as an example then =) sorry.. i'm norwegian so my english vocabulary is kidna limited and therefore it's kind of an challenge for me to explain =) hehe... http://www.evcircuit.com/index.php but look at the links on this site... do you think they have created that layout in all the .php files, or just index and then use some kind of including method somewhere? hehe.. here i go again..trying to explain Link to comment https://forums.phpfreaks.com/topic/46221-link-seperate-php-files/#findComment-224728 Share on other sites More sharing options...
clown[NOR] Posted April 9, 2007 Author Share Posted April 9, 2007 anyone? please Link to comment https://forums.phpfreaks.com/topic/46221-link-seperate-php-files/#findComment-224785 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.