Matthew Tedder wrote:
Ok..
Maybe I am seeing how it works now. I am not used to ODBC (usually, mysql,
postgresql, or mssql) and saw various examples under google searches
explicitly stating the database driver with such as "driver=..." in the odbc
connect statements.
Hi Matthew,
One PHP Dev to another, you can use the odbc functions:
http://php.net/manual/en/book.uodbc.php
or you can use PDO with the ODBC drivers
http://php.net/manual/en/ref.pdo-odbc.php
ODBC (Open Database Connectivity) can be used to connect to any
database, not just Virtuoso - you can connect to MySQL through ODBC,
Postgres through ODBC, and afaik virtually every other database out there.
Noted you've got a nice reply from Kingsley who's nailed all the facts,
and honestly he's right - ODBC is a standardized API for DBMS solutions,
if we all used ODBC rather than client specific connectors we'd have
vendor portability and wouldn't need those 'clever' abstraction layers
like PDO.
Best & Good luck,
Nathan