Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/07/2005, 10:44
Avatar de nicolaspar
nicolaspar
 
Fecha de Ingreso: noviembre-2004
Ubicación: Villa Ballester Bs-As|Ar
Mensajes: 2.002
Antigüedad: 19 años, 5 meses
Puntos: 34
Podes hacer algo como:

Código PHP:
<?php
$bgColor 
= array("f0f0f0","f7f7f7"); #COlores, todos los que quieras
$i=0#Iteracion
while($rst=mysql_fetch_array($rs,MYSQL_ASSOC)){ #Tu while
?>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="<?php echo $bgColor[$i count($bgColor)]; ?>">
<td>Hola<td>
</tr>
</table>
<?php 
$i
++;
}
?>
Espero sirva
__________________
Mi punto de partida es Que Bueno Lo Nuevo