CodeIgniter: Page not found when passing parameters to a controller???

Posted by thedp on Stack Overflow See other posts from Stack Overflow or by thedp
Published on 2010-05-01T22:52:26Z Indexed on 2010/05/01 22:57 UTC
Read the original article Hit count: 381

Hello,

I'm trying to pass parameters to a control in codeigniter, but I'm getting 404 page not found error, I don't get it, I did what the guide says: http://codeigniter.com/user_guide/general/controllers.html#passinguri

<?php
class Main extends Controller {

    function index($username) {

        echo $username;

    }

}
?>

How can I get more info regarding this error from codeigniter?

Thank you.

© Stack Overflow or respective owner

Related posts about codeigniter-url

Related posts about codeigniter