[eluser]Unknown[/eluser]
Hi!
I have a table which have some fields named after years like 2008, 2007, 2006 and so on.
When I run this
Code:
function getAllNames()
{
$q = $this->db->get('pojknamn');
if($q->num_rows() > 0){
foreach($q->result() as $row){
$data[] = $row;
}
return $data;
}
}
It only gives me the 'id' and 'name' fields. Isn't it allowed to use numbers only in field names?