Ver Mensaje Individual
  #13 (permalink)  
Antiguo 29/04/2009, 18:27
Avatar de carmagedon
carmagedon
 
Fecha de Ingreso: junio-2005
Ubicación: Argentina
Mensajes: 794
Antigüedad: 19 años, 9 meses
Puntos: 23
Respuesta: error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQ

Ah te querés matar entonces jaja.

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'];
?>
Fijate si te anda así, sino yo hasta acá llegue jaja, porque no sé donde puede existir la falla.

Un saludo.
__________________
Freelance - Aplicaciones Web