Freshman
Registered User.
- Local time
- Today, 20:40
- Joined
- May 21, 2010
- Messages
- 437
Hi all,
I'm using the following connection string to connect to the "P000Lap" Pervasive database from within Access
tdfLinked.Connect = "ODBC;DSN=P000Lap;DBQ=P000Lap"
However I would like to connect to it from PhP.
At the moment I'm connecting to a MySQL database from PhP but would also like to connect to the above.
$mysqli = mysqli_connect($databaseHost, $databaseUsername, $databasePassword, $databaseName);
How do I change the connection string for this.
If for whatever reason it is not possible, then how do I connect to the "PSQL" database (which is an Access db linking to the "P000Lap" tables.
So the result will be the same but with a "middleman" which I don't want.
See screenshot on the above
Thanks a lot
I'm using the following connection string to connect to the "P000Lap" Pervasive database from within Access
tdfLinked.Connect = "ODBC;DSN=P000Lap;DBQ=P000Lap"
However I would like to connect to it from PhP.
At the moment I'm connecting to a MySQL database from PhP but would also like to connect to the above.
$mysqli = mysqli_connect($databaseHost, $databaseUsername, $databasePassword, $databaseName);
How do I change the connection string for this.
If for whatever reason it is not possible, then how do I connect to the "PSQL" database (which is an Access db linking to the "P000Lap" tables.
So the result will be the same but with a "middleman" which I don't want.
See screenshot on the above
Thanks a lot