RE: [PHP-DB] Storing HTML in database

2001-10-02 Thread Beau Lebens
try using the htmlspecialchars() function instead - works for me :) // -Original Message- // From: Nally, Tyler G. [mailto:[EMAIL PROTECTED]] // Sent: Wednesday, 3 October 2001 6:29 AM // To: '[EMAIL PROTECTED]' // Subject: [PHP-DB] Storing HTML in database // // // Hello,

[PHP-DB] Storing HTML in database

2001-10-02 Thread Nally, Tyler G.
Hello, I'm trying to store HTML (that is cut-n-paste from source) into a textarea field on a web page. As it's submitted to the php page that processes it, the database column that it ends up with strips the "<" and ">" out of the html so that it doesn't end up in the source. Example I ca