Codeigniter Autoload Models

Codeigniter autoload models: You can auto-load models instead of loading it again and again.

Syntax : Codeigniter autoload models

1. Go to application/config/autoload.php
2. Go to the below lines

3. Now Add your model you want to auto-load.

For Multiple Models :

Example : Codeigniter autoload models

Now you can access this model without loading it again in controller.