Ver Mensaje Individual
  #28 (permalink)  
Antiguo 29/04/2009, 19:39
Avatar de acoevil
acoevil
 
Fecha de Ingreso: julio-2008
Ubicación: localhost/colombia/sevillaValle.php
Mensajes: 1.123
Antigüedad: 16 años, 7 meses
Puntos: 32
Respuesta: error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQ

Ja si tienes demaciada razon jeje sorry a ver intentemos desesperadamente por este lado xD
si miras la URL generada es

http://www.coriaweb.es/coriaweb/usua...icias/mas.php?not_id=22

el not_id es minuscula q tal si cojemos ese valor en el get con minusculas

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

$not_ID=$_GET['not_id'];


$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'];
?>