$tablanev tábla kiírása"; include 'adatok.php'; $db=pg_connect("host=$host port=$port dbname=$adatbazis user=$user password=$jelszo") or die('belépés nem sikerült'); if(!$db) { echo "Error : Unable to open database
"; } else { echo "Opened database successfully
"; } $sql =<<"; echo "NÉV = ". $row[1] ."
"; echo "CÍM = ". $row[2] ."
"; echo "FIZETÉS = ".$row[4] ."

"; } echo "Operation done successfully
"; pg_close($db); ?>