![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/09/2009, 09:48
|
![Avatar de maxi_lance](http://static.forosdelweb.com/customavatars/avatar142738_1.gif) | | | Fecha de Ingreso: julio-2006 Ubicación: Capital Federal
Mensajes: 220
Antigüedad: 18 años, 7 meses Puntos: 2 | |
Respuesta: Intercalar filas con dos colores gracias abimaelrc por la respuesta.
Dejo el codigo final:
<?
for($i=13;$i<=50;$i++){
if ($row[$i] <> "") {
$bg = ($bg=="0066FF"?"E1E8F1":"0066FF");
echo "<tr bgcolor='#".$bg."'><td>". $row[$i]."</td></tr>";
}
}
?> |