[thelist] simple string manipulation...

Joshua OIson joshua at alphashop.net
Wed May 9 14:05:58 CDT 2001


----- Original Message -----
From: "John Corry" <webshot at neoncowboy.com>
Subject: [thelist] simple string manipulation...


> Do I replace all hard returns with </p><p>...and write that into a <p>
> block, where my opening and closing <p> tags are hard coded into the
output?

That's how I usually do it.  As you pointed out, this is not the only
option.  But I agree with you that storing HTML in the database is less than
ideal in most cases where the content is to be edited again in the future
with a text area.

HTH,

-joshua





More information about the thelist mailing list