Welcome Guest, Not a member yet? Register   Sign In
Call to undefined function - still need help
#3

(05-14-2024, 09:16 PM)kenjis Wrote: What is the function display_error()?
There is no such function in PHP or CodeIgniter.


It comes from ci/app/Helpers/Form_helper.php

Code:
<?php
function display_error($validation, $field){
    if( $validation->hasError($field) ){
        return $validation->getError($field);
    }else{
        return false;
    }
}


?>
Reply


Messages In This Thread
RE: Call to undefined function - still need help - by nanohe - 05-14-2024, 09:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB