[thelist] Escaping quotes in a hidden input's value

Anthony Baratta Anthony at Baratta.com
Thu Jun 3 12:22:45 CDT 2004

At 09:52 AM 6/3/2004, Tab Alleman wrote:
>I can't believe I can't find this with google, but here I am.
>When I submit a form that includes this:
><input type="hidden" name="Title" value=""I Loved It!"">
>The script that processes the form sees an empty string for the value of
>How can I get it to see "I Loved It!"?
>(Mind, I really need it to see "I Loved It!" ...my problem will not be
>solved by getting it to see &quot;I Loved It!&quot;)

URL Encode it when you store it, and decode it when the server picks it 
back up.

Anthony Baratta
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."

More information about the thelist mailing list