Loading a custom helper |
Hello,
I am new to CodeIgniter 4. How to load a helper? I read here: https://codeigniter.com/user_guide/general/helpers.html it says use the following: PHP Code: helper('name'); What I did, is that I have a file in app/Helpers/name.php with the function name set to name() and I am using the function in a controller that is extending to controller then it is not working. It says: Quote:Call to undefined function |
Welcome Guest, Not a member yet? Register Sign In |