Ver Mensaje Individual
  #6 (permalink)  
Antiguo 21/03/2005, 09:18
josemi
Ex Colaborador
 
Fecha de Ingreso: junio-2002
Mensajes: 9.091
Antigüedad: 21 años, 10 meses
Puntos: 16
Hola,

Crea el array en el while:
Código PHP:
$fecha=array();
$cantidad=array();
while(
$row mssql_fetch_array($result)){
$fecha[] = $row[0];
$cantidad[] = $row[1];
}
#The data for the line chart
$data $cantidad// $cantidad es ya un array
#The labels for the line chart
$labels $fecha
Saludos.
__________________
Josemi

Aprendiz de mucho, maestro de poco.