« Programmation PHP/PDO » : différence entre les versions

Contenu supprimé Contenu ajouté
Ligne 61 :
* Pour PostgreSQL<ref>https://www.php.net/manual/fr/ref.pdo-pgsql.php</ref> :
<syntaxhighlight lang="PHP">
$connexion = new PDO('pgsql:host=mon_serveur;dbname=ma_bd;port=5432';user='mon_id';password='mon_mot_de_passe');
</syntaxhighlight>