in reply to testing for the zero length string (blank value) in cgi fields
will not interpolate the value of $neg, so unless you have a parameter called '$neg' (with the dollar symbol) then this will always evaluate to true, hence trashing the values of your other parameters.if (param('$neg') eq "") {
Try it like this instead:
Cheers,if (param($neg) eq "") {
JJ
Update: Must learn to type as quickly as Masem :-)
|
---|