• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.