sdyates has asked for the wisdom of the Perl Monks concerning the following question:
Here is the string I want to pass: $SQLCommand = "SELECT Client,Product,Issue,Cause,Date,id,Call FROM support WHERE Client like '%$Client%' and Product like '%$Product%' and Issue like '%$Issue%' and Cause like '%$Cause%' and Call like 'SWAT%' and SupportDetails like '%$SupportDetails%'"; At the end of the script, when I have those variables filled, I then use: ...input type='hidden' name='sqlc' value='$SQLCommand' However, when I print the variable sqlc in the other script, all I get is: SELECT Client,Product,Issue,Cause,Date,id,Call FROM support WHERE Product like Is there a perl procedure I should use to "wrap" the variable so the special charaters will not get lost? Or am I completely lost on this one?
Please advise me
simon
Edit by dws for formatting and appropriate title.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing data from one perl script to another.
by dws (Chancellor) on Apr 16, 2002 at 22:51 UTC | |
by sdyates (Scribe) on Apr 17, 2002 at 00:49 UTC | |
by dws (Chancellor) on Apr 17, 2002 at 03:53 UTC | |
by sdyates (Scribe) on Apr 17, 2002 at 01:46 UTC |