Bonjour,

Le script suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
$db = new PDO('pgsql:host=localhost port=5432 dbname=clients', 'postgres', '6339');
Me renvoie l'erreur :
Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in E:\mesdocs\wamp\www\postgre\test.php:2 Stack trace: #0 E:\mesdocs\wamp\www\postgre\test.php(2): PDO->__construct('pgsql:host=loca...', 'postgres', '6339') #1 {main} thrown in E:\mesdocs\wamp\www\postgre\test.php on line 2
Quelqu'un peut-il m'aider SVP...
Merci.