Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/07/2009, 15:46
Avatar de gjx2
gjx2
 
Fecha de Ingreso: agosto-2008
Ubicación: R.D
Mensajes: 1.153
Antigüedad: 15 años, 8 meses
Puntos: 139
Respuesta: Error en insertar registros

Problema de comillas

esto es invalido

Código PHP:
VALUES('$_POST['usuario']''$_POST['comentario']''$_POST['pais']''$_POST['correo']''$_POST['paginaweb']' 
La forma es


Código PHP:
VALUES('{$_POST['usuario']}''{$_POST['comentario']}''{$_POST['pais']}''{$_POST['correo']}''{$_POST['paginaweb']}'