It looks as if you need the php function nl2br().

John L

-----Original Message-----
From: Julio [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 4:33 PM
To: [EMAIL PROTECTED]
Subject: help | i'm new


hi.  i'm a dumb newbie.  excuse my ignorance.

i'm using a <blob> field to store content for a webpage.  The problem i have
is that i enter text into the field in a formatted way (with line breaks,
etc) and when i pull it back out into the PHP page from a query it gets rid
of all the
line breaks and paragraph breaks i had.  now, i know that this is because i
didn't store the HTML formatted code, but i'd like to know how to insert
formatted content into a database and print it back on a page.  i'm using
Dreamweaver Ultradev 4, btw.

thanks!



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to