Note:
?php $conn = pg_pconnect( "dbname=publisher"); if (!$conn) {echo "Erreur de connexion.\n"; exit;} $result = pg_exec($conn, "SELECT * FROM authors"); if (!$result) {echo "Erreur durant la requete.\n"; exit;} $arr = pg_fetch_array($result, 0); echo $arr[0]. "- array\n"; $arr = pg_fetch_array($result, 1); echo $arr["author"]." - array\n";?