Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/09/2012, 10:51
david1467
 
Fecha de Ingreso: agosto-2010
Mensajes: 44
Antigüedad: 13 años, 8 meses
Puntos: 1
Crear tablas con diferentes colores

Como podria modificar este codigo para que cuando se registre uno nuevo se muestre por lo menos uno gris y otro blanco asi sucesivamente.

Código PHP:
<TABLE width="747" BORDER=1 CELLPADDING=1 CELLSPACING=1>
        <TR><TD width="144">*<B>Nombre</B></TD> <TD width="590">*<B>Motivo</B>*</TD></TR>
<?php        

    
while($row mysql_fetch_array($result)) {
        
printf("<tr><td>*%s</td> <td>*%s*</td></tr>"$row["nombre"], $row["motivo"]);
    }
    
mysql_free_result($result);
    
mysql_close($link);    
?>
</table>