Re: Re: php mail() question
| From: | mike karthauser | Date: | Tue, 23 Dec 2003 11:02:45 +0000 |
| Subject: | Re: Re: php mail() question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32174@lists.php.net to get a copy of this message | ||
> 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 >> mikek@brightstorm.co.uk
Web >> http://www.brightstorm.co.uk
Tel >> 0117 9426653 (office)
07939 252144 (mobile)
Snailmail >> Unit 8, 14 King Square,
Bristol BS2 8JJ