creeeme que lo ignoraba, este es el codigo
<?php
<style type="text/css">
<!--
.textRed{color: #FF0000}
-->
</style>
$r = $_POST['textfield7'];
$s = $_POST['PRODUCTO'];
$link = mysql_connect($db_host,$db_username,$db_password);
$qry = mysql_query("select Sumatoria_IBC from asesores where '".$r."' = asesores.codigo and '".$s."' = asesores.producto ",$link);
while ($mostrar = mysql_fetch_array($qry)){
$sw=0;
if ($mostrar[Sumatoria_IBC] < $_POST['textfield9']){
$sw=1;
}
if($sw==1){
?>
<font color=red> <? echo $mostrar[Sumatoria_IBC]?> </font>
<?
}
if($sw==0){
?>
<font color=blue> <?=$mostrar[Sumatoria_IBC]?> </font>
<?
}
}
mysql_free_result($qry);
echo mysql_error($link);
?>" class="textRed" readonly="true">
<?php
<style type="text/css">
<!--
.textRed{color: #FF0000}
-->
</style>
$r = $_POST['textfield7'];
$s = $_POST['PRODUCTO'];
$link = mysql_connect($db_host,$db_username,$db_password);
$qry = mysql_query("select Sumatoria_IBC from asesores where '".$r."' = asesores.codigo and '".$s."' = asesores.producto ",$link);
while ($mostrar = mysql_fetch_array($qry)){
$sw=0;
if ($mostrar[Sumatoria_IBC] < $_POST['textfield9']){
$sw=1;
}
if($sw==1){
?>
<font color=red> <? echo $mostrar[Sumatoria_IBC]?> </font>
<?
}
if($sw==0){
?>
<font color=blue> <?=$mostrar[Sumatoria_IBC]?> </font>
<?
}
}
mysql_free_result($qry);
echo mysql_error($link);
?>" class="textRed" readonly="true">