Problem:How to load model in CodeIgniter view? It is not a good idea to load model in view, but sometime it is a requirement to load model in view.
Solution:Create the instance of CodeIgniter as below:
Then load your model as below:
now you can access model as below:
Sign up here with your email