Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/03/2010, 17:04
Avatar de santris
santris
 
Fecha de Ingreso: agosto-2009
Ubicación: Sant Feliu de Llobregat
Mensajes: 955
Antigüedad: 14 años, 8 meses
Puntos: 66
Respuesta: Asignar valor a un campo. Ayuda

Aquí hay un error: (fijate en la variable $not+ID)

Código PHP:
      <?php
      $not_ID 
$_GET['not_ID'];
      
mysql_query("SELECT * FROM sn_noticias WHERE ID = '$not+ID'"$db_link)
      or die(
mysql_error);
      
?>
debería ser: (fijate en la variable $not_ID)

Código PHP:
      <?php
      $not_ID 
$_GET['not_ID'];
      
mysql_query("SELECT * FROM sn_noticias WHERE ID = '$not_ID'"$db_link)
      or die(
mysql_error);
      
?>
edito -> perdona hector, estaba editando no vi tu respuesta
__________________
Tu álbum de cromos online!!

Última edición por santris; 03/03/2010 a las 17:10