in reply to ampersand in
The following line is not valid Perl:
href="mailto:me@here.com?subject=$form_data{'caption'}"
To make it valid, we'd have to do something like this:
$href="mailto:me\@here.com?subject=$form_data{'caption'}";
However, your use of %form_data makes me wonder. That's a very commonly used variable when people are hand-parsing CGI data. Such hand parsing is very prone to bugs and this could be the source of your error. Since it's difficult, at best, to debug unseen code, could you post a relevent snippet of the code so we can see what's going on?
Cheers,
Ovid
Vote for paco!
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|