Note:
PRE ?php $fields[] = array("autor", "Author"); $fields[] = array("jahr", "Year"); $fields[] = array("titel"," Title"); $row= 0; / / Postgres réclame un compteur de ligne, d'autres bases ne le font pas. while ($data = pg_fetch_object($qu, $row)): echo "----------\n"; reset($fields); while (list(,$item) = each($fields)): echo $item[1] .": ".$data - $item[0] ."\n"; endwhile; $row++; endwhile; echo "----------\n";? / PRE ?php pg_freeresult($qu); pg_close($db_conn);?