Welcome Guest, Not a member yet? Register   Sign In
working with table that name containing space characters
#3

[eluser]Unknown[/eluser]
i.e. If My table name is "Test Table",
Code:
$this->db->count_all("Test Table");
the last query will be
Code:
SELECT COUNT(*) AS `numrows` FROM `Test` `Table`
But it should be
Code:
SELECT COUNT(*) AS `numrows` FROM `Test Table`

Thanks for your help


Messages In This Thread
working with table that name containing space characters - by El Forum - 06-17-2012, 02:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB