You have 3 options:
1)"escape" all the < and & characters by replacing them with < and
& respectively (note, the semi-colons are part of the replacements).
2)enclose the fields you pull from the database in so-called CDATA tags,
which are <!CDATA[ at the beginning and ]]> at the end. This will work
except for the unusual case where your data contains ]]> anywhere.
(This is the option I use)
3)disable-output-escaping (very rarely necessary, and usually a sign of
insufficient understanding of the original problem).
Regards,
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relating to the official business of Laconia Data Systems (LDS) is proprietary to the company. It is confidential, legally privileged and protected by law. LDS does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of LDS.
The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way.
LDS can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.
_____________GMT-5___________________
>From: "Sachdeva, Rajeev" <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: special character >Date: Tue, 3 Dec 2002 11:26:25 -0000 >MIME-Version: 1.0 >Received: from apache.org ([63.251.56.142]) by mc9-f28.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 3 Dec 2002 03:26:45 -0800 >Received: (qmail 31790 invoked by uid 500); 3 Dec 2002 11:26:26 -0000 >Received: (qmail 31782 invoked from network); 3 Dec 2002 11:26:25 -0000 >Received: from mail4.messagelabs.com (212.125.75.12) by daedalus.apache.org with SMTP; 3 Dec 2002 11:26:25 -0000 >Received: (qmail 1674 invoked from network); 3 Dec 2002 11:26:38 -0000 >Received: from porgy.logica.co.uk (158.234.250.67) by server-5.tower-4.messagelabs.com with SMTP; 3 Dec 2002 11:26:38 -0000 >Received: from mauchly.logica.co.uk (mauchly.logica.co.uk [158.234.72.16])by porgy.logica.co.uk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id LAA12092for <[EMAIL PROTECTED]>; Tue, 3 Dec 2002 11:26:37 GMT >Received: by mauchly.logica.co.uk with Internet Mail Service (5.5.2653.19)id
Add photos to your messages with MSN 8. Get 2 months FREE*.
