Reputation: 1751
I'm currently working on a project: Write a Web Application that is able to make connection to pdx .db file.
This post gave me a little hint, but it was not complete. What I got from it is basically to use ODBC to work with Paradox databases.
But since resources about Paradox DB is very limited, I have not found any manual about how to connect to Paradox with Php & ODBC.
What I have tried:
<?php
$database = "C:/Data/data.db";
$conn = odbc_connect("DRIVER={Microsoft Paradox Driver (*.db )};Database=".$database, '', '');
?>
But then it returned this message:
Warning: odbc_connect(): SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
If anyone knows how to fix the connection string, please kindly help.
Any suggestions would be greatly appreciated!
Upvotes: 0
Views: 659