texto con formato HTML
| From: | Francisco Rivas Flores | Date: | Thu, 01 Apr 2004 11:28:30 +0000 |
| Subject: | texto con formato HTML | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-47345@lists.php.net to get a copy of this message | ||
Hola Listeros
Allá va otra cuestión. Estoy trabajando con un formulario en el que tengo
un textarea multilínea. Evidentemente, me importa el hecho de que el usuario
pueda formatear sus mensajes con saltos de línea. El problema surge cuando
introduzco ese texto en la base de datos, y al escupirlo me lo devuelve como
un largo string sin dichos saltos de línea. Existe alguna forma para que me
conserve los mismos? Se me había ocurrido pasarle un pequeño algoritmo que
metiera <BR> por cada punto, pero no es factible ya que no todos los puntos
son "punto y aparte".
Un saludo!
------
Francisco Rivas Flores
RivasFlores@terra.es
PGP key available at keyservers.pgp.com
PGP key available at europe.keys.pgp.com
------
PRIVATE & CONFIDENTIAL - This email message and attachments contain
information that is confidential. If you are not the intended recipient, you
are not permitted to use, copy or distribute the message and attachments in
any manner. If you have received this email in error, please inform the
sender by return email immediately and delete all copies of the message and
its attachments. This notice should not be removed.