Tutorial by Examples

The example is for illustration purpose of using libraries and helpers and not a valid code. Do not copy / paste it on your projects. HELPER helpers/sendEmail_helper.php if ( ! function_exists('sendEmail')) { function sendEmail($email, $subject, $message, $lang, $cc = null, $file = null) { ...
Autoload your helper function. if you use many time in your project $autoload['helper'] = array('url', 'form'); Use form helper in view <?php echo form_open('Public/Login/loginAuth'); ?> <?php echo "<div class='row'>"; echo "<label for='inputE...

Page 1 of 1