Welcome Guest, Not a member yet? Register   Sign In
How to use public variables from controller in views in CI 4
#9

(This post was last modified: 12-30-2020, 06:33 AM by John_Betong.)

@ciddict,

Did you try the two suggestions I made in post #3? I did, both work and either one could solve your problems.

Edit:

I just re-checked the original post and also advise to extend base_controller instead of each controller:

> class MY_Controller extends Base_Controller {
Reply


Messages In This Thread
RE: How to use public variables from controller in views in CI 4 - by John_Betong - 12-30-2020, 06:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB