Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/07/2009, 18:34
Avatar de bioxido
bioxido
 
Fecha de Ingreso: diciembre-2008
Ubicación: $_SERVER['PHP_SELF']
Mensajes: 601
Antigüedad: 15 años, 5 meses
Puntos: 21
Respuesta: Problema con un código

Código PHP:
$SQL="SELECT * FROM noticias WHERE '$id';";//no

$SQL="SELECT * FROM noticias WHERE id= '$id'";//si 
te recomiendo no incluir archivos que no sean .php ... podrian afectar a la seguridad del script.

Última edición por bioxido; 20/07/2009 a las 18:58