Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/02/2008, 10:02
Avatar de wladtepes
wladtepes
 
Fecha de Ingreso: febrero-2008
Mensajes: 140
Antigüedad: 16 años, 3 meses
Puntos: 0
Re: Pasar selecion de lista a otro php

hice lo siguiente


me lanza el siguiente error


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\PROYECTOS\PRUEBAS\createExcel.php on line 33
Query was empty

Código PHP:
$resultado mysql_query($sql) or die(mysql_error());//ejecuta la consulta para extraer la informacion (extrae una consulta sql guardada)
$filas=mysql_fetch_array($resultado);
$resultado2=mysql_fetch_row($filas); 

no entiendo que estoy haciendo mal