escaping & in CGI.pm
- From: scott@xxxxxxxxxxxxxxx (Scott Taylor)
- Date: Fri, 24 Jun 2005 12:51:43 -0700 (PDT)
Grr... Arg...
Hello all,
I'm working on my first Perl/CGI database app and run into a bit of a snag:
http://myserver/lseid.cgi?LeaseOPID=A&DT89&theCmd=EditIt
this line finds the right data however, everything after the & in the
LeaseOPID ($row-{leaseopid}) "A&DT89" gets truncated in this form line:
textfield(-name=>'LeaseOPID',
-value=>$row->{leaseopid},
-size=>8,
-maxlength=>8),p,"\nName: ",
I've tried every combination of quotes, ", ' , qw, qq, that I can think of
but no luck. Is there any way to do this? I get why it does it, just
don't know how to get around it. App works fine with data that doesn't
have ampersands in it. :)
Please feel free to beat me over the head if I don't make any sense here.
Cheers
--
Scott
.
- Follow-Ups:
- Re: escaping & in CGI.pm
- From: Joshua Colson
- Re: escaping & in CGI.pm
- Prev by Date: route STDOUT to file
- Next by Date: Re: escaping & in CGI.pm
- Previous by thread: route STDOUT to file
- Next by thread: Re: escaping & in CGI.pm
- Index(es):