My controller:
function search()
{
$this->load->model('membership_model');
$this->membership_model->search();
}
Model:
function search()
{
$q = $this->db->get('feeds');
var_dump($q);
}
Why var_dump it returns me this:
object(CI_DB_mysql_result)#19 (8) { ["conn_id"]=> resource(57) of type (mysql link persistent) ["result_id"]=> resource(68) of type (mysql result) ["result_array"]=> array(0) { } ["result_object"]=> array(0) { } ["custom_result_object"]=> array(0) { } ["current_row"]=> int(0) ["num_rows"]=> int(325) ["row_data"]=> NULL }
It is normal? it not supposed to display me another format of data? Array...etc[]=>[]