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: quotes problem


##########################
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 after first quote ("), I KNOW where the
problem is but at a loss to prevent it as I have tried all the options

Any help!!!.

thanks,

Sara.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to