Welcome Guest, Not a member yet? Register   Sign In
having problem creating a default controller
#4

[eluser]UdayD[/eluser]
i have written my controller like
Code:
class main extends Controller
{
    function main()
    {
         parent::controller();
    }

function page()
{
$this->load->view('main/index');
}

do i need that name of function as index can i change it to name page.
or from where i need to change the function name from where the index function is called so that i can change to name " page" function


Messages In This Thread
having problem creating a default controller - by El Forum - 06-13-2010, 11:55 PM
having problem creating a default controller - by El Forum - 06-14-2010, 01:56 AM
having problem creating a default controller - by El Forum - 06-14-2010, 01:59 AM
having problem creating a default controller - by El Forum - 06-14-2010, 02:16 AM
having problem creating a default controller - by El Forum - 06-14-2010, 02:27 AM
having problem creating a default controller - by El Forum - 06-14-2010, 03:16 AM
having problem creating a default controller - by El Forum - 06-14-2010, 03:21 AM
having problem creating a default controller - by El Forum - 06-17-2010, 07:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB