Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/03/2006, 06:04
ostayde
 
Fecha de Ingreso: noviembre-2005
Ubicación: venezulea
Mensajes: 214
Antigüedad: 18 años, 5 meses
Puntos: 0
error en select (supplied argument is not a valid MySQL result resource )

$sql1="SELECT fecha, fecha_publicacion, DATEDIFF(fecha, fecha_publicacion) as diferencia, destinatario, fk_login
FROM Notificaciones WHERE estatus=0";
$execute_sql1=mysql_query($sql1);


while($row=mysql_fetch_array($execute_sql1)){ ------ESTA ES LA LINEA 11
$diferencia=$row['diferencia'];
$fecha_publicacion.=$row['destinatario'];
$fk_login.=$row['fk_login'];
}

EXACTAMENTE ESTE ES EL ERROR:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /opt/IBMIHS/BancaribeAdmin/i_editor.php on line 11