I have an include page that has links in it that i want to include a page within the same include that the links are in when theyre clicked on. i dont know how to write the href to make it work though or how to set up the folder/file structure. to paint a picture:
index.php contains a link called "work">>
>>the "work" link makes work.php appear as an include>>
>>work.php contains a link called "posters">>
>>I want the "posters" link to open an include called posters.php within work.php but it doesnt.
The include script im using in index.php works great, here it is:
<?php $area = $_GET['area'];
if ($area) {include_once("content/".$area.".php"); } ?>
I tried using the same in work.php but it doesnt work.
HELP PLEASE!! 
Last edited by chrishirst; 09-17-2010 at 01:11 PM..
|