Margaret Fisk at [EMAIL PROTECTED] wrote:
>
> areas=areas+',"'array[i][1];
>
> What I need is "homework","Science","Chess Club" to be used in an in
> statement for the sql query.
>
> I tried to use single quotes to prompt Java to ignore the double quote
> character (it works in Perl) but it still gives me compilation errors.
>
> Does someone have an approach that works?
Java is not PERL :)
areas=areas+",\""+array[i][1];
Or
areas+=",\""+array[i][1];
Pier
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html