HTML stored in a text field
| From: | Gabe Covert | Date: | Wed, 06 Oct 2004 14:59:45 +0000 |
| Subject: | HTML stored in a text field | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-36651@lists.php.net to get a copy of this message | ||
I have a database which has a BLOB field storing text... It should probably be
in a text field, but I don't think that's the problem...
The field has HTML control codes, such as <b>, </b>, and <p>. When I echo them
from the database, a la:
echo "<td>" . $row['textfield'] . "</td>"
I get the contents of the field with the tags showing up, isntead of applying to
the HTML.
How can I get these tags to aplpy to the text in the field?
Thanks!
Gabe