Hello all,

When I accept input from an HTML form, apostraphes(single quotes) screw up
my SQL query syntax. I tried to write a method that searched the string and
put an escape character in front, but this wouldn't work for me. I ended
substituting the ' character with I think is an accent grave `.

Does anyone have a better idea?

Thanks!
Randy Troppmann

___________________________________________________________________________
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

Reply via email to