Good morning,
I need a product like GRID 4 PHP able to connnect to a Pervasive DB.
If I use a very simple PHP script, everything is fine (so, my driver is ok):
This is my simple php script:
$server = ‘aaa.bbb.ccc.ddd’;
$db = ‘MYDB’;
$connection_string = “Driver={Pervasive ODBC Interface}; ServerName=$server;DBQ=$db”;
$conn = odbc_connect($connection_string,””,””);
if(!$conn) die(“Could not connect”);
odbc_close($conn);
Could you tell me if your solution can be used with Pervasive?
Many thanks in advance
Kind regards
Federico Cordeglio
1 Answers
Hello,
Yes ODBC is supported. You can refer following demo code line 10-26. It uses MS-Access connection using ODBC. You can use similar approach as well and test in free version.
Your Answer