I'm using php to access to my postgreSQL but am having problems in the Select statement.
Heres what I have.
Code: Select all
$testing = person;
$query = "SELECT * FROM " .$testing;
Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "person" does not exist LINE 1: SELECT * FROM Parks ^ in C:\xampp\htdocs\Test.php on line 29
Query failed: ERROR: relation "parks" does not exist LINE 1: SELECT * FROM Person^
person is a table inside my postgreSQL.