It looks like you're new here. If you want to get involved, click one of these buttons!
I want to get the array from
$this->profiles_model->find_one() to have any record from profiles_model to take keys for the form. When I use
foreach with this it doesn't iterate. I have checked that with
gettype($any_record) and the result is "object". I can easily echo this object like a string (prints that it is an array, but it is not) or echo its nodes with
echo $any_records->birth_date what returns correct values. But I want to iterate its nodes.
Even if I set the $return_method argument as "array" it doesn't return an array, but an "object" as above.
How to iterate that?