Welcome Guest, Not a member yet? Register   Sign In
undefined function anchor()
#1

Fatal error: Call to undefined function anchor() in C:\xampp\htdocs\CI202-CRUD\application\controllers\welcome.php on line 13

controllers/welcome.php

PHP Code:
class Welcome extends CI_Controller {
    function 
__construct()
    {
    
//    parent::__construct();
    //    $this->load->helper(array('html','form', 'url'));
    
}
    public function 
index()
    {
        
$data = array(
            
'title' => 'Welcome Profile Edit',
            
'body' => anchor(base_url().'member_area/''Member area')
        );
        
$this->load->view('_output_html'$data);
    } 

I already autoload the helper:

autoload.php

PHP Code:
$autoload['helper'] = array('html','url','form'); 

I wonder how to fix the error?
" If I looks more intelligence please increase my reputation."
Reply


Messages In This Thread
undefined function anchor() - by davy_yg - 11-04-2014, 02:19 AM
RE: undefined function anchor() - by sv3tli0 - 11-04-2014, 04:03 AM
RE: undefined function anchor() - by InsiteFX - 11-04-2014, 05:47 AM
RE: undefined function anchor() - by Narf - 11-06-2014, 04:20 PM
RE: undefined function anchor() - by Hobbes - 11-06-2014, 07:32 PM
RE: undefined function anchor() - by Narf - 11-06-2014, 11:22 PM
RE: undefined function anchor() - by Chroma - 11-08-2014, 08:39 AM
RE: undefined function anchor() - by Chroma - 11-08-2014, 08:38 AM
RE: undefined function anchor() - by sv3tli0 - 11-08-2014, 01:11 PM
RE: undefined function anchor() - by Hobbes - 11-08-2014, 01:59 PM
RE: undefined function anchor() - by sv3tli0 - 11-08-2014, 02:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB