$connection = pg_pconnect("dbname=testdb user=Nico password=MyPass");//connexion //pg_query("INSERT into test values(3,'Nico','Nico')"); //pg_query("INSERT into test values(3,'albert','einstein')"); $result = pg_query($connection, "select * from test");//execution de la requete while ($row = pg_fetch_assoc($result)) { echo $row['id'].' | '.echo $row['nom'].' | '.echo $row['prenom']; } ?> Example 1843. PostgreSQL extension overview example \n"; while ($line = pg_fetch_array($result, null, PGSQL_ASSOC)) { echo "\t