[eluser]Unknown[/eluser]
Hi all
I would like to know how CodeIgniter work, I have look at the guide I didn't find a solution.
Code:
// standard model query
$query = $this->db->get('data');
return $query->result();
This work pretty well if you use a foreach in a view for more than one result.. but if the result only return one row the foreach is useless in the view in this situation.
my problem if how to get my data in my row in my view?
thanks