anchor problem |
[eluser]zizzo[/eluser]
hi, i need help for my problem: the url of my controller in codeigniter is: http://1.2.3.4/sea/index.php/example i add in the controller this anchor: anchor(’/delete’,’Delete a record’); but, when i visualize the page, i obtain a link that heads for http://5.6.7.8/sea/delete the ip address of server changes completely and ‘index.php’ disappear. Sorrrryyy for the bad english Someone can help me?
[eluser]xwero[/eluser]
have you set the base_url and the index_page in the config.php file?
[eluser]zizzo[/eluser]
i have set these settings only now -.- thanks veeeeeery much for the fast reply!!
[eluser]Tom Glover[/eluser]
The Config will always need to be set-up before your controllers will work. Some vars in the config are less important than others.
[eluser]zizzo[/eluser]
i know it's very important to set the configs files, but i haven't checked these because before the project was managed from an other person, so I thought that he had already set correctly these files. i don't know if you have understood my explanation i hope yeees |
Welcome Guest, Not a member yet? Register Sign In |