Welcome Guest, Not a member yet? Register   Sign In
how to keep the variable passed to the view in codeigniter 4
#4

(This post was last modified: 02-26-2022, 01:56 AM by startup.)

(02-26-2022, 01:22 AM)iRedds Wrote: You don't need to pass the model to the view.
This is bad practice.

i need code below
PHP Code:
cateMenu =1
$getcateMenu 
=$mhome->function('1'

can you  good method to get id folow cate in view page ? i know 'view_ceil' in codeigniter 4 , but id dont like this function
Reply


Messages In This Thread
RE: how to keep the variable passed to the view in codeigniter 4 - by startup - 02-26-2022, 01:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB