You've got to use double quotes if you're enclosing a variable without using the catenator (.):
$page['title'] = "Gallery - $pageTitle";
Should work.
diafol
Rhod Gilbert Fan (ardav)
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
<?php
//use php full tag
//make sure it's actually set
if (isset($_GET['p']) && !empty($_GET['p']))
{
$p = $_GET['p']; //I'd clean this though
$p = "minc/".$p.".php";
if(!file_exists($p))
{
echo "That page does not exist! ";
}
else
{
include($p);
}
}
else
{
include('inc/home.php');
}
?>
Maybe? If not, ensure that your relative reference (minc/...) is correct for this page.
diafol
Rhod Gilbert Fan (ardav)
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080