:) 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: Tuesday, October 21, 2003 4:05 AM Subject: RE: quotes problem > I'm not sure if John or Greg from the previous answers understand the > question... or maybe it is me that is misunderstanding it. > > You are receiving a string from the query string that includes quotes, but > it isn't printing the whole value. Correct? > > If that is the case, I am not sure I know where the problem is, even though > you say you do. > > For example, this works fine: > > my $x = 'This is the string "which" contains the quotes'; > print $x, "\n"; > print qq| > $x > |; > > Once the quote is inside the variable you don't need to do anything special > to print 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 > > > ########################## > 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]