redirect locaion |
[eluser]Unknown[/eluser]
Hi all,This is sridhar from Hyd I am new to codeigniter. How the url redirected to some other page in codeigniter?
[eluser]InsiteFX[/eluser]
Code: redirect('controller/function', 'refresh'); If you want to redirect to another page from a view then you would use the CodeIgniter url_helper anchor tag.
[eluser]abhinavp[/eluser]
Hi Sridhar, You need to use redirect function(already defined) for redirecting your site from one page to another. You need to mention controller name and function name in that function like: Code: redirect('controller_name/function_name'); for further information, please refer below URL: http://ellislab.com/codeigniter/user-gui...elper.html |
Welcome Guest, Not a member yet? Register Sign In |