From: Hassan Schroeder Date: 2011-02-24T10:31:26+09:00 Subject: Re: Using CGI params with a MYSQL query On Wed, Feb 23, 2011 at 5:19 PM, Doug Al wrote: > I can use puts to show the value to the screen and it displays > correctly. mmmm. > MYSQL returns something like this to my screen > > in `query': You have an error in your SQL syntax; check the manual that > corresponds to your MySQL server version for the right syntax to use > near '["4352221213"]' at line 3 (Mysql::Error) What does `myparamvariable.inspect` return? That error message looks like myparamvariable is an Array (one element, but regardless). -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan