Log in

View Full Version : php template help



abzd
02-27-2008, 10:46 AM
Hi,

I was having a look at the tutorial (http://www.dynamicdrive.com/forums/showthread.php?t=28260) on this site and I was wondering how hard it would be to modify this. I have some basic php knowledge but I’m just looking for some pointers.

My file set up would be:

index – landing page

page 1 – where the user selects which site they want to visit then this will spilt into two different sites.

What I’m wondering is what script do I put in my index page and page 1 as that is acting a bit like an index page aswell. Then will I just have the two sites in separate folders with relevant php in each page.

Any help would be great.

boogyman
02-27-2008, 02:59 PM
how does the user select the site?
form (select box, radio buttons)? link?

is the url the same and are there get variables www.dynamicdrive.com/index.php?getvar=value

abzd
02-27-2008, 03:01 PM
By clicking on a link on the second landing page.
Yeah thats what i'm trying to achieve.

boogyman
02-27-2008, 03:06 PM
just assign the link the url of the page you wish to go to, no php needed

abzd
02-27-2008, 04:53 PM
I'm actually thinking about changing my pages to include header and footers and then a content.php etc due to that being the only part of the site that will be changing.

Hopefully its easy enough to change over and re-do.

Thanks for the input.