je voudrais attaquer postgres SQL avec PHP mais ma chaîne de connection ne marche pas aidez moi!
voici mon code:
j' ai message d'erreur qui dit :Code:
1
2
3
4
5
6
7
8 try { $db= new PDO('pgsql:host=MYSERVER;dbname=janonce_db port=5432', 'postgres', 'payene@'); } catch(Exception $e) { die('Erreur : '. $e->getMessage()); }
.Citation:
could not find driver
:oops: