display diff img per page using templete
Posted: Sat Jan 31, 2004 5:13 pm
I have my index.php setup as a templete for the rest of the site using isset example of the coded below.. and I want to display an image in the templete but have the image change for each page so how would I go about doing that? (not radom images either preset ones for each page)
Index.php - isset example
Index.php - isset example
Code: Select all
<?
if(!isset($id)){
include('/home/oblivion/public_html/site/home/index.php');
}
else
{
for($i=0; i<count($links); $i++)
{
if($id==$links[$i])
{
include($url[$i]);
break;
}
}
}
?>