![]() |
redirect won't work - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: redirect won't work (/showthread.php?tid=2804) |
redirect won't work - El Forum - 08-25-2007 [eluser]CI_[/eluser] my redirect() won't fire... please check my codes... the problem is when I click submit button it goes to another url like sooo "http://localhost/code_igniter/index.php/blog/index.php/blog/index" as you can see the URI has been repeated. what did I do wrong here.. Thank you in advance... Code: <?Php redirect won't work - El Forum - 08-25-2007 [eluser]bugboy[/eluser] in your form part have you got it pointing to blog/insert_data? redirect won't work - El Forum - 08-25-2007 [eluser]CI_[/eluser] yep, here's my form code Code: <html> redirect won't work - El Forum - 08-25-2007 [eluser]CI_[/eluser] I used the header('location') function and it work's fine, But I want to do it in a CI way... redirect won't work - El Forum - 08-25-2007 [eluser]NemetraL[/eluser] What about the index.php in the URL? |