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