Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/04/2006, 16:38
all-ill
 
Fecha de Ingreso: junio-2002
Mensajes: 750
Antigüedad: 24 años, 3 meses
Puntos: 22
A lo mejor podría ser algo así...

Código PHP:
<?php
while ( $row=mysql_fetch_array($resultado) )
{
  
$color='green';
  if ( 
$row['edades'] > 9 )
  {
   
$color = 'red';
  }
 echo 
'<tr bgcolor="' . $color . '"><td>' . $row['nombres'] . '</td><td>' . $row['edades'] . '</td></tr>';
}
?>