• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to update the url correctly

Hi there, i've been using CodeIgniter for at least 5 months.
When i use the view function, it loads a new file correctly. But the url text does not change, unless 
i do it through a link that loads a new path.

For example, if i have a Login controller with a method login the url would look like:
If i click in the submit button with the above url, and in the controller i use the view function to load
the view("index"), it still reamains the same text in the url. It is pretty annoying for me, could any one help me

Have you ever checked Routing ?

You can even find some basic tutorials online.

Or you should copy and paste some of your codes here, including: Route and Controller.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.