[eluser]gloosemo[/eluser]
I have the following anchor on a page
Code:
<a href='register'>Register</a>
in my routes.php file, i have defined:
Code:
$route['register'] = "register";
and in my controllers folder, i have a file called register.php and a class called Register.
Code:
class Register extends CI_Controller {
public function index() { ... }
}
But when i click the anchor, the page doesnt load, it just says 404 page not found.
What am i doing wrong?
thanks, G