MySQL Forums
Forum List  »  Ruby

Re: Raw String Input
Posted by: Jim Winstead
Date: November 01, 2006 01:19PM

This is covered in the "Including Special Characters in Query Strings" section of http://www.kitebird.com/articles/ruby-mysql.html

You need to use the quote() method to escape the string before using it in a query.

Jim Winstead
MySQL/Sun

Options: ReplyQuote


Subject
Written By
Posted
October 30, 2006 03:02PM
Re: Raw String Input
November 01, 2006 01:19PM
November 17, 2006 12:33PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.