Previous help on this list got me almost going (I think).  But here's where I
am.

I am getting a PDO object returned but attempts at using it to make queries
seem to fail without any error.  That is, the $rs object print_r's nothing..
not even null.  So I don't understand this.  

Here's the SQL that built the tables (I inserted a couple rows by hand using
isql):

http://pastebin.com/4et88WNy

Here's the contents of /etc/odbc.ini:
[virtuoso]
Driver = /usr/local/virtuoso-opensource/lib/virtodbc_r.so
address = localhost:1111

And here's the PHP code that results in no errors but a single line of "Hey
dude!" output:
http://pastebin.com/xv0ajkPs

I've tried using 'odbc:virtuoso;dbname=studies' but that gives the following
error (after I changed the logError() to a print statement):
Failed to connect to database: SQLSTATE[IM002] SQLDriverConnect: 0
[unixODBC][Driver Manager]Data source name not found, and no default driver
specified

I spent many hours Googling and trying things.. I am stuck.

Reply via email to