From 71562f2782d68f174ea38ee440872cc42889f642 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 7 Jan 2023 20:15:28 +0100 Subject: [PATCH] pg test --- proj/paper/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proj/paper/index.php b/proj/paper/index.php index 4aafc58..1bc11cf 100644 --- a/proj/paper/index.php +++ b/proj/paper/index.php @@ -22,6 +22,8 @@ var_dump($db); $result = pg_query($db, "INSERT INTO testab (testval) VALUES ('Yolo')"); var_dump($result); + +echo pg_last_error($db); /* if (!$result) { // query failed