Código PHP:
function formato_texto($texto) {
$texto = str_replace('<br />', '', $texto);
$texto = str_replace('<p>', "\n", $texto);
$texto = str_replace('</p>', '', $texto);
echo $text;
}
Código PHP:
formato_texto("esta es un
texto
multi
linea
bla bla bla");
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
agradezco su ayuda...