![]() |
|
| |||||||
| Notices |
| mySQL & PHP Discussions, information and help with mySQL and PHP. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| Trying to use SQlite3 but I must be doing something wrong. I tried using PDO as follows : // create a SQLite3 database file with PDO and return a database handle try{ $dbHandle = new PDO('sqlite:'.$_SERVER['DOCUMENT_ROOT'].'/../pdoTutorial.sqlite3'); }catch( PDOException $exception ){ die($exception->getMessage()); } but got the following error message: Fatal error: Class 'PDO' not found in /home/zbfckla/public_html/Ocx.php on line 14 I am just trying to access a sqlite3 db that I created on my pc and uploaded to my site. Thanks Aharon bme-eng.com |