Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/06/2004, 08:08
PkDeath
 
Fecha de Ingreso: junio-2004
Mensajes: 13
Antigüedad: 19 años, 10 meses
Puntos: 0
Error: Mysql_Fetch_Array :s

Wenas, aver tngo un codigo para mostrar mis noticias de una db, el codigo es el siguiente:
Código PHP:
<?
include("config.php");

 
$link mysql_connect("$server","$dbuser","$dbpass");
    
$query "SELECT * from noticias order by id DESC limit 10";
    
$result =  mysql_db_query ($database$query$link);
     while (
$row mysql_fetch_array ($result)) {
$titulo $row["titulo"]; 
$noticia $row["noticia"]; 
$autor $row["autor"]; 
$fecha $row["fecha"]; 
?>
Dspues el html con las tablas y tal, xo me da este error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/weblog/public_html/log/sec/inicio.php on line 15

que ago mal?
Gracias un saludo