Welcome Guest, Not a member yet? Register   Sign In
How to pass database result set from controller to a view
#8

(03-28-2021, 04:50 PM)ojmichael Wrote:
PHP Code:
echo view('blogview', ['data' => $data]); 
Hi ojmichael:

That single line fixed my issues. Thank you so much for all your help.

The CI community is awesome. With my  limited knowledge I want to give back where I can: documentation or
any place there is a need. Who do I contact to volunteer for tasks?

I would like to see CI grow to be the best and most popular framework in order to honor Jim and his team.

I have been trying out CI for the first time in less than a week and I love it.

AHirsi
Reply


Messages In This Thread
RE: How to pass database result set from controller to a view - by Ahirsi - 03-28-2021, 11:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB