[eluser]ccachor[/eluser]
I'm having some trouble with a concept here in MVC and CI. Basically, I'm building some functionality into a real estate for a friend where people could search for houses. There's about 92,000 listings in the database so queries can become a problem if I'm not careful.
I'm just curious how to display records based on a search query and then include pagination for those results. From what I've read the _GET method is not allowed and most people use the URI segment but when I click a link to the next page I lose my query data based on the URI segment.
What I would like to do is have a Listings controller with the index function taking POST values from forms to query the database and display listings. Then I would have a detail function that just loads the details for the listings and an email function to send the sales lead. Is this possible to take POST variables on an index function and include pagination on those results? I'm sure it's a piece of cake to everyone but I'm just getting started with PHP and CI
Help would GREATLY be appreciated!