Hi
I am a new php developer and making my 1st PDO connection.
I am working on Windows platform, I have PHP 5.2.9 running on Apache server with MySQL 5.1.32.
I activated the following modules in the php.ini :
extension=php_pdo.dll
extension=php_mysql.dll
extension=php_pdo_mysql.dll
I am trying to create a new PDO object by the following line :
$db = new PDO("mysql:dbname=schema;host=localhost","user", "password");
when I run the project a Fatal error is thrown :
"Class 'PDO' not found in .....(the file path in local disk)........... "
I don't know how to fix the problem, can anyone help?
thanks in advance
yours
Amany