how to laod a page without putting a function in the uri

in code igniter you need to specify a function when loading a page.

like this

is there a way the i can load function_name() by on just calling index.php

like this:


like this:

and will automatically load function_name()

So that views will only need to type not

[eluser]Colin Williams[/eluser]
In that case, CI will call your default controller's index() function.

can you teach me a quick way how can it be done?

[eluser]Colin Williams[/eluser]

thanks for the help. ive already found the answer. i just need to modify the routes.php. i forgot :cheese:

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.