Pretty URL's and query strings |
[eluser]Unknown[/eluser]
Hello, I am a complete newbie to codeigniter and I'm really keen to unlock it's potential for a new holiday app that I'm building. Just wondering if it's possible to use query strings and pretty urls at the same time, for example: /find/holidays/?city=london&date=2344545&duration=45&board=bb&rating=5 etc I don't want to use a full url for this as i think it'd look messy, for example find/holidays/london/45345345/34/ Thank you!
[eluser]Ckirk[/eluser]
Welcome to CI The simple answer is YES. You can and should build your URLs in that fasion. Have a look at Codeigniter's URI helper for help in how to read the info in the URL |
Welcome Guest, Not a member yet? Register Sign In |