Ver Mensaje Individual
  #23 (permalink)  
Antiguo 29/04/2009, 19:15
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

y este es el codigo del mas.php:

Código PHP:
<?php  
include("../reg/config.php");

if(isset(
$_GET['not_ID'])){      
    echo 
$_GET['not_ID']; 
}

if(!isset(
$_GET['not_ID'])) {
    
$not_ID $_GET['not_ID']; 
}else{
    
$not_ID 1//Por ejemplo 
}

    
$estructura "SELECT * FROM noticias WHERE not_ID = '$not_ID' ";
        
$sqlQueryNot mysql_query($estructura$db_link) or die(mysql_error()); 
 
        
$rowNot mysql_fetch_array($sqlQueryNot); 
        echo 
"<h2>".$rowNot['titulo']."</h2>";  
        echo 
$rowNot['texto']; 
        echo 
$_GET['not_ID'];
?>
no hay mas codigo..... que le pasara?