diff --git a/proj/paper/index.php b/proj/paper/index.php index 9aeeaf9..02584af 100644 --- a/proj/paper/index.php +++ b/proj/paper/index.php @@ -17,8 +17,10 @@ if (!$db) { } // Execute a query -$result = pg_query($db, "SELECT * FROM testab;"); +$result = pg_query($db, "SELECT * FROM *"); +echo $result; +/* if (!$result) { // query failed echo "Error: Query failed\n"; @@ -28,6 +30,7 @@ if (!$result) { echo "Name: $row[0]\n"; } } +*/ // close the connection pg_close($db);