Pervasive

QuestionsPervasive
Federico asked 4 years ago

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
Abu Ghufran Staff answered 4 years ago

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.

http://gridphp.com/demo/demos/loading/db-layer-access.phps

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

17 + 1 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?