Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/11/2003, 11:15
mahorgo2
 
Fecha de Ingreso: noviembre-2003
Ubicación: viña del mar
Mensajes: 5
Antigüedad: 20 años, 6 meses
Puntos: 0
Pregunta consulta error

Warning: Wrong parameter count for mysql_fetch_array() in c:\archivos de programa\easyphp\www\ejemplo\menu\colores.php on line 11

este es el código:

<html>
<title></title>
<head></head>
<body>
<table>
<?php
echo("4");
$lista_colores=array('#F0F0F0','#FF0000','#00FF00' ,'#0000FF');
$num_colores=4;
$indice=0;
while($row=mysql_fetch_array())
{
$color=$lista_colores[$indice % $num_colores];
$indice++;
echo "<tr bgcolor=\"$color\"><td>Hola</td></tr>";
}
?>
</table>
</body>
</html>