Helpers are stored in 'system/helpers', or 'application/helpers' folders.
Loading a helper in the controller
<?php
$this->load->helper('form');
?> |
<?php
$this->load->helper('form');
?>
List of auto-loading helpers can be set in file: 'application/config/autoload.php'
Using helper
<?php
echo anchor('gallery/listing', 'View gallery listing');
?> |
<?php
echo anchor('gallery/listing', 'View gallery listing');
?>