Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/04/2006, 16:38
all-ill
 
Fecha de Ingreso: junio-2002
Mensajes: 750
Antigüedad: 21 años, 10 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'] > )
  {
   
$color 'red';
  }
 echo 
'<tr bgcolor="' $color '"><td>' $row['nombres'] . '</td><td>' $row['edades'] . '</td></tr>';
}
?>