Help - Search - Members - Calendar
Full Version: Php Pdo For Mysql Driver
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
gemmy886
Hi,

I am new to zymic, and everything was fine until now..but I am wondering why is there no support for MySQL PDO?

the phpinfo() shows that sqlite, sqlite2 are available.. how come no mysql? "PDO drivers sqlite2, sqlite "

And this is the error I get on my site:

"on line 32 Failed to get DB handle In oo_db_class : could not find driver "

Have any timming ZYMIC open the PDO Driver for MySql ?

Thank you for the help.
RaSh
You just have to do that :

CODE
$bdd = new PDO('sqlite:host='.$host.';dbname='.$dbname, $user, $pass);
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.