I"m facing this problem in PHP

I"m facing this problem in PHP

am 21.11.2005 13:34:27 von developers

Hello dex members,
you've been great help to me ,and i'm hopeing to find the answer to my
problem here .
i'm creating this php loop to build a site map each level of this loop
have font but when i run this code it only reads the font size and
doen't read the color.this is the code please read it and help me to
find what's wrong.


require_once('odbc.php');
$query = odbc_exec($odbc, "select * from SiteCell") or die
(odbc_errormsg());
while ($row = odbc_fetch_array($query))
{
echo "
";

if ($row['Cell_Pos'] == "1")
{
echo "";
echo "";

if ($row['flag_value'] == "Acml")
{
echo "";
echo $row['Cell_Name'].'

';
echo"
";
}
else
{
echo $row['Cell_Name'].'
';
echo"";
}
}
elseif ($row['Cell_Pos'] == "2")
{
echo "";
echo      ";
echo "";
if ($row['flag_value'] =="Acml")
{
echo "";
echo $row['Cell_Name'].'

';
echo"
";
}
else
{
echo $row['Cell_Name'].'
';
echo"
";
}
}
elseif ($row['Cell_Pos'] == "3")
{
echo "      ";
echo "";
if ($row['flag_value'] =="Acml")
{
echo "";
echo $row['Cell_Name'].'

';
echo"
";
}
else
{
echo $row['Cell_Name'].'
';
echo"";

}

}
elseif ($row['Cell_Pos'] == "4")
{
echo "       ";
echo "";
if ($row['flag_value'] =="Acml")
{
echo "";
echo $row['Cell_Name'].'

';
echo"
";
}
else
{
echo $row['Cell_Name'].'
';
echo"";
}

}

}
odbc_close ($odbc);

?>
Best regars
Yoya ali

*** Sent via Developersdex http://www.developersdex.com ***