Welcome Guest, Not a member yet? Register   Sign In
Custom Validation Function
#4

Ok now I'm trying to have my function in a helper inside helpers/ folder.
But I'm getting this error

Code:
An Error Was Encountered
Unable to load the requested file: helpers/validation_helper.php

and my helper written like this
PHP Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if (!
function_exists('Time_Validation'))
{
    function 
Time_Validation($data FALSE)
    {
 
            //...
 
       }


Ive tried to load my loader like
PHP Code:
$this->load->helper('validation'); 
And
PHP Code:
$this->load->helper('validation_helper'); 

My helper file started with small letter and I've tried to make it upper case (only the 'V') but still is the same.

Any Idea?

Thanks everybody
Reply


Messages In This Thread
Custom Validation Function - by ardavan - 09-22-2015, 06:28 AM
RE: Custom Validation Function - by kilishan - 09-22-2015, 06:52 AM
RE: Custom Validation Function - by ardavan - 09-24-2015, 06:10 PM
RE: Custom Validation Function - by ardavan - 09-30-2015, 02:15 AM
RE: Custom Validation Function - by Martin7483 - 09-30-2015, 02:37 AM
RE: Custom Validation Function - by ardavan - 09-30-2015, 03:13 AM
RE: Custom Validation Function - by Martin7483 - 09-30-2015, 03:39 AM
RE: Custom Validation Function - by Martin7483 - 09-30-2015, 07:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB