Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/10/2008, 22:38
freedatos
 
Fecha de Ingreso: abril-2003
Mensajes: 587
Antigüedad: 21 años
Puntos: 5
Exclamación INSERT MySQL Error

Hola alguien ve algun error en esta consulta estoy volviendome loco :D

Código PHP:
$db->consulta("INSERT INTO sms_usuarios  (idcampana,usuario,password,status,nombre,telefono,prefijo,mail,sexo,busca,pais,ciudad,edad)VALUES('".$_GET['referido']."','".$_GET['usuario']."','".md5($_GET['pass'])."','".$stat."','".$_GET['nombre']."','".$_GET['telefonoM']."','".$_GET['prefijo']."','".$_GET['email']."','".$_GET['sexo']."','".$_GET['buscas']."','".$_GET['pais']."','".$_GET['ciudad']."','".$_GET['edad']."'"); 
devuelve este error

MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

:S
__________________
Si la vida te da la espalda tocale el culo