Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/05/2003, 09:52
Avatar de payo22
payo22
 
Fecha de Ingreso: noviembre-2002
Ubicación: México
Mensajes: 839
Antigüedad: 21 años, 5 meses
Puntos: 1
alguien sabe por que me marca este ERROR?

me marca el siguiente error:

Warning: Supplied argument is not a valid MySQL result resource in C:\apache\htdocs\arreglo.php on line 36



Código PHP:
$tabla "TTAA".$estacion;
       
$sql "SELECT DISTINCT Fecha,Hora,Estacion,PP,PS,HGT,TT,TD,DD,FF from $tabla where Fecha >= '$fechainicio' and Fecha <= '$fechafin' and Hora >= '$bhr' and Hora <= '$ehr'";
       
$result mysql_query($sql,$link);
       
$mes $bmo;
       
$dia $bdy;
     if (
$row=mysql_fetch_array($result)){  //linea 36 

no se por que marca este error.

espero me puedan ayudar.

gracias por todo.