[thelist] Dealing with special characters in forms

Keith cache at dowebscentral.com
Fri Jan 3 16:41:01 CST 2003


At 01:13 PM Friday 1/3/2003, you wrote:
>hi,
>
>I'm having a problem with a form filled textarea and special characters.
>When the form is submitted to be parsed by a PHP script, all the special
>character entities are presented to the script as translated text.


try placing your textarea inside of pre tags to retain preformatting

<pre>
<textarea id="b88" name="body[88]" cols="72" rows="12">
<p>&pound; &lt;= crazy</p>
</textarea>
</pre>




Keith
====================
cache at dowebscentral.com




More information about the thelist mailing list