Welcome Guest, Not a member yet? Register   Sign In
Random Quote
#6

[eluser]BrianDHall[/eluser]
Try running this:

Code:
$query = $this->db->get('panelbase');
$result = $query->result_array();
var_dump($result);

It would seem to me that your problem is the database structure of 'panelbase'.

Your query states that you want the info in the columns named 'Object_ID' and 'Object_Desc'.

You might export the structure of that particular table and post that. Ensure you don't have any unnecessary keys defined on the table, that the naming and case are correct (if you don't have a case-insensitive structure of database), and that there is a column named 'Object_Desc'.

The SQL itself is correct, so I think either there is a key problem in the DB or you are looking for info that columns that aren't defined.


Messages In This Thread
Random Quote - by El Forum - 09-04-2009, 10:37 AM
Random Quote - by El Forum - 09-04-2009, 10:50 AM
Random Quote - by El Forum - 09-04-2009, 11:06 AM
Random Quote - by El Forum - 09-04-2009, 12:15 PM
Random Quote - by El Forum - 09-04-2009, 01:27 PM
Random Quote - by El Forum - 09-04-2009, 01:51 PM
Random Quote - by El Forum - 09-04-2009, 08:00 PM
Random Quote - by El Forum - 09-05-2009, 04:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB