Estoy mandando un email pero una de las variables quiero que me mantenga los "enter" con que fue introducido en el formulario.
El código es este:
Código PHP:
$mensaje = "<html><head></head><body>La persona: <b>" . $_POST['NOMBRES'] . " " . $_POST['APELLIDOS'] . "</b> ha enviado los siguientes comentarios:<br><br>----------<br>" . nl2br($_POST['COMENTARIOS']) . "<br>----------<br><br><b>Datos Personales:</b><br><br>Email: " . $_POST['EMAIL']; . "<br>País: "$_POST['EMAIL'] . $_POST['PAIS'] . "<br>Ciudad: " . $_POST['CIUDAD'] . "<br>Teléfono: " . $_POST['COD_TEL'] . "-" . $_POST['NUM_TEL'] . "</body></html>";
Parse error: parse error, unexpected
Ideas ??
Gracias