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

lo he puesto asi y sigue saliendo el mismo error, el mas.php a quedado asi:

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 = '".addslashes($_GET['not_ID'])."'"$db_link) or die(mysql_error); 

$rowNot mysql_fetch_array($sqlQueryNot);{ 
    echo 
"<h2>".$rowNot['titulo']."</h2>";  
    echo 
$rowNot['texto']; 
    }  

?>
y el error que sigue saliendo es este:

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