ony one record |
model:
PHP Code: public function getDatum($datum_id) controllers PHP Code: public function datum($datum_id) View PHP Code: <?= $datum_id->dnevnik_id;?><br> prints me only one record from the table, I have 2 records in the table ?
Your asking it in your getWhere to get it by id which will only return one record for that id.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(01-21-2021, 12:21 PM)vojkoz Wrote: https://codeigniter.com/user_guide/datab...s.html#id2 Quote:getRow() That's also why you only have one result. (01-22-2021, 02:13 AM)craig Wrote:(01-21-2021, 12:21 PM)vojkoz Wrote: tnx.. sorry, I'm a new to this. |
Welcome Guest, Not a member yet? Register Sign In |