Sono arrugginito ma non capisco cosa non funge
In pratica vorrei che quando CAMPO3 ha un valore = CONDIZIONE lo sfondo della cella che contiene il suo output cambi da rosso a verde

Codice PHP:
<?
$connect 
odbc_connect("DatabaseODBC","user","psw");
if (!
$connect){exit("Error");} 
$sql "select * from vista where CAMPO = 'CONDIZIONE'";
$essequelle odbc_exec($connect,$sql);
if (!
$essequelle)
 {exit(
"Error");}

echo  
"<table border = '5'><tr>";
echo  
"<th>CAMPO1</th>";
echo  
"<th>CAMPO2</th>";
echo  
"<th>CAMPO3</th>";
echo  
"<th>CAMPO4</th>";
$PCONV "FF0033";

while(
odbc_fetch_row($essequelle))
       {
$CAMPO1=  odbc_result($essequelle,"CAMPO1");
$CAMPO2=  odbc_result($essequelle,"CAMPO2");
$CAMPO3=  odbc_result($essequelle,"CAMPO3");
$CAMPO4=  odbc_result($essequelle,"CAMPO4");
if (
$CAMPO3="CONDIZIONE"$PCONV = ("66FF00");
echo 
"<tr><td>$CAMPO1</td>";
echo 
"<td>$CAMPO2</td>";
echo 
"<td BGCOLOR=$PCONV>$CAMPO3</td>";
echo 
"<td>$CAMPO4</td><tr>";

 }
odbc_close($connect);
echo 
"</table>";
?>