Re: sacar por el explorador.

From: Date: Tue, 30 Mar 2004 11:39:30 +0000
Subject: Re: sacar por el explorador.
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-47265@lists.php.net to get a copy of this message
tony wrote:
$sql2 = mysql_query("SELECT poesia1 FROM poesias WHERE id= $id "); $row= mysql_fetch_array($sql2); $lapoesia= $row["poesia1"]; echo $lapoesia; Prueba lo siguiente:
echo nl2br($lapoesia) ; nl2br() sustituye las *nuevas lineas* en un texto por el tag <br/> de XHTML Espero que te sirva de ayuda. Jose -- Jose Casal-Gimenez <J.Casal@kent.ac.uk> University Web Support Officer Communications and Development Office G10, The Registry, University of Kent, Canterbury, Kent, CT2 7NZ Tel: 01227 82 3102 - Fax: 01227 764464

« previous php.general.es (#47265) next »