Jump to content

link seperate .php files


clown[NOR]

Recommended Posts

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
Share on other sites

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  ;D

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.