Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/04/2013, 14:05
Avatar de Ekel
Ekel
 
Fecha de Ingreso: noviembre-2009
Mensajes: 62
Antigüedad: 14 años, 6 meses
Puntos: 3
Respuesta: Problema al insertar datos

cambia esto:
Código PHP:
mysql_query("INSERT INTO usuario(USUARIO,PW) VALUES ('$_POST[usuario]','$_POST[pw]')",$con); 

por esto:

Código PHP:
mysql_query("INSERT INTO usuario(USUARIO,PW) VALUES ('".$_POST[usuario]."','".$_POST[pw]."')",$con); 
__________________
Black Nation Army