On 4/15/04 11:49 PM, "Daniel Kasak" <[EMAIL PROTECTED]> wrote:
> I'm currently using: > > replace(replace(NoteText, '<', '<'), '>', '>') as NoteText > > to replace the offending characters with HTML escape codes. Is there a > cleaner way of doing this? You can try the php command: htmlspecialchars($NoteText, ENT_NOQUOTES); ref: http://us3.php.net/htmlspecialchars Best place for php questions is www.sitepoint.com Mark Súsol ------------------------------- u l t i m a t e CreativeMedia Web | Print | CD Media | eCommerce www.ultimatecreativemedia.com Ph: 301-668-0588 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]