[eluser]bobbob[/eluser]
I am using this code:
Code:
<?php
$this->load->library('table');
$query = $this->db->select('id, title');
$query = $this->db->get('quicklinks');
echo $this->table->generate($query);
?>
And getting this error:
Code:
Message: Undefined property: CI_Loader::$table
and this too:
Code:
Fatal error: Call to a member function generate() on a non-object
What am I missing?
This is in a view file.
I tried in a controller too. Databases are auto loaded