changing / rewriting the URI |
[eluser]Unknown[/eluser]
so I have my uri that brings up search results http://www.mysite.com/info/listing and it works fine now problems, the problem I am having is that I want the URI to be different ... I want to change / rewrite it to be more like http://www.mystie.com/info/listing/searc...earchTerm3 Problem is, doing a redirect I loose my $_POST data, trying to append those to the view file name obviously doesn't work either... any suggestions on how to achieve this?
[eluser]Rick Jolly[/eluser]
Something like this? Code: function listing($searchTerm1 = false, $searchTerm2 = false, $searchTerm3 = false)
[eluser]Mirage[/eluser]
What I do is to stick the cleaned Post data into a session variable, and read it out in the redirected method and use the url parameters to communicate paging Code: function listing($page=0) { HTH, -m |
Welcome Guest, Not a member yet? Register Sign In |