On 23-May-2000 Mike Markovich wrote:
>
> ResultSet rs = stmt.executeQuery("INSERT INTO employees SET
> FirstName = '" + empFirstName + "', LastName = '" + empLastName + "',
> Department = '" + empDepartment + "', Id = " + id);
>
>
>>>> Tim Stoop <[EMAIL PROTECTED]> 05/23/00 06:58AM >>>
> Hi there,
>
> I'm writing a function in Java to be used by my servlets, but I was
> wondering if Java has it's own function to escape characters in en
> MySQL-string. Anyone?
You may want to checkout village, http://working-dogs.com then you don't have to
wonder about how to do an update and what the value needs to be.
Wouter
--
Mphasis Media BV. Interactive architects
Wouter Boers <[EMAIL PROTECTED]> http://www.MphasiS.com
Phone: +31 (0)23 5573447 Fax: +31 (0)23 5655132
Wouter Boers <[EMAIL PROTECTED]> http://www.ikke.net
___________________________________________________________________________
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