Cheers!
When stating the DOC type I need to remember that browsers follow scrict guidelines when building pages! Bad news for lazy people (like me!)
I have one more query, the loop below has trouble outputting the values i want!
here it is
while (list($type, $loc) = each($menu))
{
{
if (eregi('luid', $type))
{
$bg == "fluid";
}
else if(eregi('signiture', $type))
{
$bg == "signiture";
}
}
echo "<tr> \n ";
echo "<td width=\"4%\"> </td> \n";
echo "<td width=\"96%\" background=\"images/right_main_".$bg."_bg.jpg\">";
$this->BuildHomeMenu($type, $loc); //uses the function I created by inheriting value(s) from var defined at top of page ($menu).
echo "</td> \n";
echo "</tr> \n";
}
The $bg variable fails to inherit the values i need 🙁