Hace unos dias funcionaba correctamente me mandaba un reporte en excel con datos, hoy me arroja este error en el formato de excel no se porque :(
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\REPORTE_GENERAL_EXCEL_UTT33.php on line 50
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\REPORTE_GENERAL_EXCEL_UTT33.php on line 154
estas son las lineas
50
Código HTML:
while($row = mysql_fetch_array($result)) {
$tipo_inven = $row["id_clasificacion_bien"];
$id_consecutivo = $row["id_consecutivo"];
154
Código HTML:
}
mysql_free_result($result);