Ver Mensaje Individual
  #8 (permalink)  
Antiguo 29/04/2009, 12:16
Avatar de rompeguesos
rompeguesos
 
Fecha de Ingreso: marzo-2009
Mensajes: 692
Antigüedad: 16 años
Puntos: 8
Pregunta Respuesta: Problema con ifs

Ya esta solucionado todo esto ahora me esta volviendo loco otro error que no tiene nada que ver con este erro pero mirar es el siguiente:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mnt/web7/32/27/51920027/htdocs/coriaweb/usuarios/noticias/mas.php on line 9

y el codigo es de mas.php que recoge el not_ID de una noticia y las muestra es el siguiente:

Código PHP:
<?php 

include("../reg/config.php");

if(isset(
$_GET['not_ID'])){     
    
$not_ID $_GET['not_ID']; 
    
$sqlQueryNot mysql_query("SELECT * FROM noticias WHERE not_ID"$db_link) or die(mysql_error);
}
$rowNot mysql_fetch_array($sqlQueryNot);{
    echo 
"<h2>".$rowNot['titulo']."</h2>"
    echo 
$rowNot['texto'];
    } 

?>
En que falla?