¿Como puedo cambiar colores de filas de una tablagenerada dinamicamente con php?
AUTOR PREGUNTA #1
muchas gracias
-
¿Tienes la misma pregunta? Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#2
<table>
<? while ($i < 10) {
$fila++;
if ($fila==1) { $color='#dddddd'; } else { $color='#ffffff'; }
echo "<tr bgcolor=".$color.">";
echo "<td>Test de colores".$color"</td>";
echo "</tr>";
if ($fila==2) { $fila=0;}
$i++;
} ?>
</table>