Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic Free Web HostingZymic Free Web Hosting - General Discussion & Help right
  Reply to this topic Start new topic
left right
geburha
post Jul 6 2012, 03:00 AM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 6-December 10
Member No.: 167,997



Hello,
I'm making a OOP user system connecting to the database through PDO.

When I tried connecting I received this error "Error!: could not find driver"

Is PDO enabled? Is there something I have to do to enable it if it's disabled?

Thanks.

Edit:

To better understand what I'm asking, I'm using the following code:
CODE
$this->link = new PDO('mysql:dbname=$this->db_host', '$this->db_user', '$this->db_pass');
Go to the top of the page 
 
  + Quote Post
ssfdre38
post Jul 6 2012, 05:48 AM
Post #2


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,710
Joined: 23-January 10
From: on your screen
Member No.: 127,507



PDO isnt enable and there is no way to get it enable cause it would mean a complete re-compile of PHP
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 24th May 2013 - 08:32 PM