Re: preserve text formatting
| From: | Yurais Fernandez Leal | Date: | Thu, 10 Aug 2000 18:46:57 +0000 |
| Subject: | Re: preserve text formatting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11201@lists.php.net to get a copy of this message | ||
Using a BLOB type Field should solve it.
On Wed, 9 Aug 2000, Greg Donald wrote:
greg: Is there any way to preserve text formatting of a string when inserting it
greg: into a mysql database field? I know I could wrap it with some html, but I
greg: really don't need that kind of formatting, I just need to preserve the
greg: carriage returns and new line calls.
greg:
greg: I was thinking maybe I was using the wrong kind of mysql field, but after
greg: looking at the manual, I don't see anything like what I need. Is there
greg: something in PHP that can do the job?
greg:
greg: Thanks,
greg: Greg
greg:
greg:
--
------------------------------------------------
Yurais Fernández Leal, Systems Administrator
Public Health Network Santiago de Cuba
yurais@medired.scu.sld.cu
http://www.scu.sld.cu/
Phone: (53) 226-54204
(home) (53) 226-51556
ICQ: 33792610
------------