I'm using Ruby's CGI to handle some forms, and the form input is to be
further used to query a database. But I'm getting errors when I try to
use the DBI module to connect to the database. Even just typing
"require 'dbi'" is screwing up things. For instance in the following
code, nothing would show up unless I remove "require 'dbi'".
move the cgi out statement below the require cgi statement
···
On Jul 4, 2007, at 5:55 AM, Gale CC wrote:
Hi,
I'm using Ruby's CGI to handle some forms, and the form input is to be
further used to query a database. But I'm getting errors when I try to
use the DBI module to connect to the database. Even just typing
"require 'dbi'" is screwing up things. For instance in the following
code, nothing would show up unless I remove "require 'dbi'".