PHP Alternative to Frames

Soldato
Joined
25 Oct 2006
Posts
5,395
Im trying to make a frame like environment on my website. I have the main nav bar using php include on each page to include it.

One one of the pages I also have a sidebar with links, I want this side bar to change the content beside it without opening a new web page, just like a frame.

How can I do this? Im not sure exactly what its called either in php..
 
Not exactly, this drawing should explain more clearly:

designfr8.jpg
 
I dont know much about PHP etc but I have heard of different urls i.e. mysite.com/index.php?value=valuehere

Is there not a way I can use urls like that to change the content in the left hand side of the drawing above? (even if it did mean the whole page reloads)
 
Thanks, do I just put the pages to be included (e.g. page4.php) in the same directory as the index and it will work with no changes to your code above?

Also what part of PHP is this on tizag.com or w3schools as I would like to learn more about it.
 
Well I dont mean to have frames exactly just something that emulates the functionality of frames. If marc_howarth replies I should be able to use that system if it works :)
 
OK I will probably do it just using pages then. Im interested in learning about this url value thing with the question marks. Does anyone know of a tutorial where I can learn more about it?
 
Back
Top Bottom