> What does this do? Well I added <PRE> and </PRE> for > a testing purpose. > > It returns in the textarea <PRE></PRE> ... > > So it's skipping the HtmlSpecialChars code. Why?
Change this: echo "<textarea name='headers' cols='250' rows='5'><PRE>",HtmlSpecialChars($headers[$line]),"</PRE></textarea>'"; For echo "<textarea name='headers' cols='250' rows='5'><PRE>".HtmlSpecialChars($headers[$line])."</PRE></textarea>'"; Which should display. -- Mike Karthauser Managing Director - Brightstorm Ltd Email >> [EMAIL PROTECTED] Web >> http://www.brightstorm.co.uk Tel >> 0117 9426653 (office) 07939 252144 (mobile) Snailmail >> Unit 8, 14 King Square, Bristol BS2 8JJ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php