PDO Connection and Interface

QuestionsPDO Connection and Interface
Khalid Saeed asked 2 years ago

Hi,

Can we implement the grind by using PDO connection and interface. If yes please send me the related docs.

1 Answers
Mike answered 2 years ago

The downloads and the online guide should help you get started. I use MSSQLServer and had no issues following the connection guides on the getting-started section.

https://www.gridphp.com/docs/

If you check the Demos\loading folder, there is a PDO file that demonstrates connecting with PDO.

$db_conf = array();
$db_conf["type"] = "pdo";
$db_conf["server"] = "mysql:host=localhost;port=3306";
$db_conf["user"] = PHPGRID_DBUSER; // username
$db_conf["password"] = PHPGRID_DBPASS; // password
$db_conf["database"] = PHPGRID_DBNAME; // database

 

Your Answer

3 + 8 =

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?