Re: [PHP] Re: Cannot create statement handler

2008-11-17 Thread Thodoris
Thodoris wrote: I was wondering if anyone sees something I am bypassing: I have this sample code that works in another server: query($sql); // die(var_dump($sthr)); $res = $sthr->fetch(PDO::FETCH_ASSOC); return $res['Name']; } try { $dbh = new PDO('mysql:host=localhost;port=330

Re: [PHP] Re: Cannot create statement handler

2008-11-17 Thread Thodoris Goltsios
Thodoris wrote: I was wondering if anyone sees something I am bypassing: I have this sample code that works in another server: query($sql); // die(var_dump($sthr)); $res = $sthr->fetch(PDO::FETCH_ASSOC); return $res['Name']; } try { $dbh = new PDO('mysql:host=localhost;port=3

[PHP] Re: Cannot create statement handler

2008-11-17 Thread Nathan Rixham
Thodoris wrote: I was wondering if anyone sees something I am bypassing: I have this sample code that works in another server: query($sql); // die(var_dump($sthr)); $res = $sthr->fetch(PDO::FETCH_ASSOC); return $res['Name']; } try { $dbh = new PDO('mysql:host=localhost;port=3306;