Ver Mensaje Individual
  #5 (permalink)  
Antiguo 29/04/2009, 13:43
Avatar de rompeguesos
rompeguesos
 
Fecha de Ingreso: marzo-2009
Mensajes: 692
Antigüedad: 15 años, 1 mes
Puntos: 8
Respuesta: error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQ

si es integer y tambien he quitado las llaves pero sigue saliendo el error eso como es? :D. El codigo ahora mismo esta 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=$not_ID"$db_link) or die(mysql_error); 

$rowNot mysql_fetch_array($sqlQueryNot); //no lleva la llave porque no hay ningun WHILE
    
echo "<h2>".$rowNot['titulo']."</h2>";  
    echo 
$rowNot['texto']; 
    
//te saque la llave

?>