how to laod a page without putting a function in the uri |
[eluser]virginboy[/eluser]
in code igniter you need to specify a function when loading a page. like this http://www.domain.com/index.php/function_name/ is there a way the i can load function_name() by on just calling index.php like this: http://www.domain.com/index.php or like this: http://www.domain.com and will automatically load function_name() So that views will only need to type domain.com not domain.com/index.php/function_name
[eluser]Colin Williams[/eluser]
In that case, CI will call your default controller's index() function.
[eluser]Colin Williams[/eluser]
http://ellislab.com/codeigniter/user-gui...ml#default
[eluser]virginboy[/eluser]
thanks for the help. ive already found the answer. i just need to modify the routes.php. i forgot :cheese: |
Welcome Guest, Not a member yet? Register Sign In |