I just use single quotes to delimit the attribute.... which works until someone has a single-quote in the value. Or both a single and double quote. Or an ampersand.
No, the proper thing here is to learn to escape properly. Other solutions have already been given in this thread. Pay attention to them.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re^3: Double Quotes in form hidden field values
by merlyn
in thread Double Quotes in form hidden field values
by pickledegg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |