hyperlink problem |
[eluser]muntahu[/eluser]
Hello.. I got a little problem here.i wish anyone can help me. so, i have url = localhost/test/index.php/game/scaffolding/ in that page, there is a hyperlink to 'add new record'. which actually direct to the url = localhost/test/index.php/game/scaffolding/add/ but when i click the 'add new record' hyperlink, the url turns to = localhost/test/index.php/game/scaffolding/add/localhost/test/index.php/game/scaffolding/add/ maybe there is something that i miss to configure or what. That's the only problem, i use CodeIgniter 1.7.2. and I need help from you guys. Thanks
[eluser]mi6crazyheart[/eluser]
Use CI's anchor() function for showing links... More info: http://ellislab.com/codeigniter/user-gui...elper.html
[eluser]muntahu[/eluser]
@Atharva : this is the base url $config['base_url'] = "localhost/"; is it right?or what should it be? @mi6crazyheart : actually, i don't implement this hyperlink. it's already provided by CodeIgniter. ../user_guide/general/scaffolding this problem is odd. i really need to solve this problem.
[eluser]muntahu[/eluser]
Problem solved! the base url must be $config[‘base_url’] = "http://localhost/"; Thanks to Atharva |
Welcome Guest, Not a member yet? Register Sign In |