[eluser]Pascal Kriete[/eluser]
Ok, so it's like calling example.co.uk/index.php/view/nial . So although it gets the class right, we need a function in there as well.
Try renaming the view class to something like user and give it a show function (view won't work as a method name).
Your htaccess will need to change a tad:
Code:
rewriteRule (.*) index.php/view/%1/$1 [L]
to
rewriteRule (.*) index.php/user/show/%1/$1 [L]
And the controller:
Code:
class User extends Controller {
function User()
{
parent::Controller();
}
function show($username = 'none')
{
echo $username;
}
}