Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/12/2005, 11:46
Avatar de Master Solution
Master Solution
 
Fecha de Ingreso: octubre-2005
Mensajes: 51
Antigüedad: 18 años, 6 meses
Puntos: 1
Para eso tenes que usar la funcion nl2br()

Código PHP:
echo nl2br($_POST['variable']); 
Aunque tambien te convendria por seguridad hacer lo siguiente, para evitar XSS.

Código PHP:
echo nl2br(htmlspecialchars($_POST['variable'])); 
__________________
-=[ 3KLabs ]=-
-=[ Diseño - Programación - Desarrollo ]=-
-=[ Posicionamiento en Buscadores ]=-
-=[ Hosting de Calidad ]=-