Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/11/2003, 14:28
Avatar de pereztroff
pereztroff
 
Fecha de Ingreso: junio-2002
Ubicación: En la Internet.
Mensajes: 4.068
Antigüedad: 21 años, 10 meses
Puntos: 5
warning!! ¿que me dice?

tengo el siguiente aviso pero no entiendo que me dice:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
in news_admin.php on line 49



Código PHP:
$query "select * FROM noticias ORDER BY fecha"$resp mysql_query($query);
    while (
$noticia mysql_fetch_array($resp)) {
    echo
" <tr><td>$noticia[id]</td><td>$noticia[fecha]</td><td>$noticia[titulo]</td><td align='center'><a href='news_admin.php?edit=$noticia[id]'>Editar</a> | <a href='news_admin.php?del=$noticia[id]'>Borrar</a></td></tr>";
    } 
p.d. la linea 49 es la de: while.....................