Welcome Guest, Not a member yet? Register   Sign In
Making data available in ALL views

In your BaseController just load the helper through the helpers array
Then in your view just do this.

PHP Code:
<?= siteinfo();?>

Make sure that your helper is named siteinfo_helper.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Messages In This Thread
RE: Making data available in ALL views - by InsiteFX - 06-15-2021, 01:21 AM

Theme © iAndrew 2016 - Forum software by © MyBB