From: Brian Candler Date: 2011-02-25T03:18:08+09:00 Subject: Re: Using CGI params with a MYSQL query Doug Al wrote in post #983651: > And the error returned is: > > in `query': wrong number of arguments(2 for 1) (ArgumentError) > from ./dp.rb:93:in `
' Oh OK, maybe 'query' doesn't support this. Follow the examples in the kitebird article, using do/execute etc. (Or you can write your own helper function which does it) -- Posted via http://www.ruby-forum.com/.