:) its solved, sorry I was making a mistake.
Thank you all for prompt help.
Sara.
- Original Message -
From: "Hanson, Rob" <[EMAIL PROTECTED]>
To: "'Sara'" <[EMAIL PROTECTED]>; "beginners-cgi"
<[EMAIL PROTECTED]>
Sent: Tue
20test%20field
Sara.
- Original Message -
From: "Hanson, Rob" <[EMAIL PROTECTED]>
To: "'Sara'" <[EMAIL PROTECTED]>; "beginners-cgi"
<[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 4:05 AM
Subject: RE: quotes problem
> I'm not sure if
t it.
If you could give us an example of the query string, maybe that would help.
My guess would be that the query string is malformed.
Rob
-Original Message-
From: Sara [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 19, 2003 6:56 PM
To: beginners-cgi
Subject: quotes problem
#
On Mon, 20 Oct 2003 03:55:40 +0500
"Sara" <[EMAIL PROTECTED]> wrote:
> # Lets Suppose the form Input contains the quotes in the string e.g.
>
> $field = "This is the string "which" contains the quotes";
>
> The script stops printing everything after first quote ("), I KNOW where the problem
> i
Did you try making the quote line read:
$field = qq(This is the string "which" contains the quotes);
???
That's the trick I always use.
John
-Original Message-
From: Sara [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 19, 2003 16:56
To: beginners-cgi
Subject:
##
use CGI;
$q = new CGI;
my $field = $q->param('field');
print qq|
$field
|;
#
# Lets Suppose the form Input contains the quotes in the string e.g.
$field = "This is the string "which" contains the quotes";
The script stops printing everything