• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to change the url

#1
[eluser]Wonder Woman[/eluser]
Hi,

I have a view called search inside a folder called properties.

When I load this view in the controller after a form has been submitted the url does not change? Haw can I get the url to say '../properties/search'

My code is:

Code:
$this->load->view('properties/search', $data);


Thanks

#2
[eluser]danmontgomery[/eluser]
Code:
$this->load->helper('url');
redirect('properties/search');

You do realize, however, that url structure and view structure are in no way related?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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