Ver Mensaje Individual
  #9 (permalink)  
Antiguo 16/01/2009, 17:49
Avatar de srsombrero
srsombrero
 
Fecha de Ingreso: marzo-2008
Mensajes: 128
Antigüedad: 16 años, 1 mes
Puntos: 0
Respuesta: Color de texto segun dato obtenido

Aqui esta el problema:

Código php:
Ver original
  1. echo "<td>".$fila['PDTId']."</td>";
  2.   echo "<td>".$fila['Estatus']."</td>";
  3.   echo "<td>".$fila['Descripcion']."</td>";
  4.  
  5. //Algo asi deberia ser
  6. if ($fila['AfectaServicio']=="si")
  7.   echo "<td bgcolor=\"#0000FF\">".$fila['AfectaServicio']."</td>";
  8. else
  9.   echo "<td>".$fila['AfectaServicio']."</td>";