I was integrating Codeigniter and Firebird ... I created a simple database with two tables: CITIES and STATES.
When I run the application, the connection goes OK, but as I try to get all STATES using:
$qry = $this->db->get("states");
I get the following error message:
Error Number: -204 Dynamic SQL Error SQL error code = -204 Table unknown states At line 2, column 1 SELECT * FROM "states" Filename: C:/xampp/htdocs/ci_test/application/controllers/Home.php Line Number: 11
I realized that the cause of the problem is the double-quotes at the SQL query. Cause the query:
SELECT * FROM states;
runs ok.
Has anyone experienced this problem and/or knows how to solve it?
check this code :)