Welcome Guest, Not a member yet? Register   Sign In
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?




Theme © iAndrew 2016 - Forum software by © MyBB