[eluser]speedskater[/eluser]
Hi Guys,
I've got an strange error, in my codeigniter application.
Zero Sized Error,
Squid did not receive any data for this request.
this is my code:
Code:
function overview()
{
$this->db->order_by("tijd", "desc");
$query = $this->db->get('gastenboek');
if($query->num_rows() > 0){
$data['results'] = $query->result_array();
} else {
$data['results'] = array();
}
$data['soort'] = 'overview';
echo '<pre>';
print_r($data);
echo '</pre>';
$this->load->view('admin/gastenboek_view');
}
The strange thing is that when I comment out
$this->load->view('admin/gastenboek_view');
it all seems to work.
Can somebody help me?
Thanks in advance