list_fields not working on query |
[eluser]cogito[/eluser]
I do not have any particular code, I have just tried to create a general code to get query result and display it as a html table. I have tried to get query from model and call Code: $query->list_fields() But the function doesn't return anything. It works when I call Code: $this->db->list_fields('users'); Should I do anything more to enable list_fields() for a query returned by Code: $query = $this->db->get('users'); I have used most simple calls, examples from user guide (user guide). I'm using simple MySQL database, currently connecting to it as a root (I will change it later on to use more restricted account). |
Messages In This Thread |
list_fields not working on query - by El Forum - 01-01-2011, 10:01 AM
list_fields not working on query - by El Forum - 01-01-2011, 02:36 PM
list_fields not working on query - by El Forum - 01-01-2011, 03:31 PM
list_fields not working on query - by El Forum - 01-01-2011, 03:57 PM
list_fields not working on query - by El Forum - 01-02-2011, 04:09 AM
list_fields not working on query - by El Forum - 01-02-2011, 04:26 PM
list_fields not working on query - by El Forum - 04-18-2011, 12:46 PM
list_fields not working on query - by El Forum - 04-18-2011, 07:41 PM
|