Welcome Guest, Not a member yet? Register   Sign In
Can this work? index($myvar)
#1

[eluser]tmac[/eluser]
Hi, I have a question about the index function within a controller.
I know that if I use http://www.mysite.com/page/index/myvar it would work, but how do I get rid of the "index"

Thanks for any info on this Smile
#2

[eluser]pistolPete[/eluser]
You can use the _remap()-function:

Documentation

Code:
function _remap($myvar)
{
    $this->index(myvar);
}




Theme © iAndrew 2016 - Forum software by © MyBB