I am using codeigniter 2.1.2, WAMP, im just learning it and encountered a problem. all i did was following -> created a view "home.php" with some text in it. -> created a controller "homecontroller.php" as follows:
<?php
class homecontroller extends CI_Controller{
function iloadhomepage(){
$this->load->view('home');
}
}
up till here it works fine when i run
"http://localhost/CodeIgniterTut/index.php/homecontroller/iloadhomepage"
next I changed the default controller in "routes.php" (in config) to
$route['default_controller'] = "homecontroller";
so that when i run "http://localhost/CodeIgniterTut/index.php" i would get my "home.php" but rather im getting a 404 error, am i doing a mistake anywhere? please help