Welcome Guest, Not a member yet? Register   Sign In
new to code igniter need help

page name =>home.php

class home extends CI_Controller {

function home()
  parent :: CI_controller();

public function index()
  $data['title']= "My blog title";
  $data['heading']="My blog heding";
  $data['todo']= array ('Madhu','satya','Sheela','sangeetha','Ramu');

Quote:this code making an error
Fatal error: Call to undefined method CI_Controller::ci_controller() in D:\wamp\www\CodeIgniter\application\controllers\home.php on line 7

how can we change the error please help me .....

this code is copied from video tutorial in code igniter website

with out the function home() it this code working fine.

Theme © iAndrew 2016 - Forum software by © MyBB