Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/07/2010, 16:34
Avatar de carlos_belisario
carlos_belisario
Colaborador
 
Fecha de Ingreso: abril-2010
Ubicación: Venezuela Maracay Aragua
Mensajes: 3.156
Antigüedad: 14 años
Puntos: 461
Respuesta: Ayuda con un código

fijate no cerraste el ) del value ni cerraste el mysql_query
Cita:
Iniciado por enkryptedname Ver Mensaje
mysql_query("INSERT INTO `46224`.`registro` (Nombre,Apellidos,Nick,Password,Correo)
VALUES ('{$_POST['Nombre']}','{$_POST['Apellidos']}','{$_POST['Nick']}','{$_POST['Password']}','{$_POST['Correo']}',
deberia ser asi segun lo que tengo entendido prueba xq a mi si me inserto tu consulta
Código PHP:
mysql_query("INSERT INTO `46224`.`registro` (Nombre,Apellidos,Nick,Password,Correo)
VALUES ('{$_POST['Nombre']}','{$_POST['Apellidos']}','{$_POST['Nick']}','{$_POST['Password']}','{$_POST['Correo']}')"
) or die ("error al ingresar dato".mysql_error());