helloworld001 Posted December 22, 2014 Share Posted December 22, 2014 For eg. I have a page with a query that retrives records from the database and I want to have options of filtering out the shown records by date, time, likes, views..etc; how would I go about doing that? The way I am thinking is having a html form with those filter inputs and using a relative query based on the filter selection to retrive the results. What you think? Quote Link to comment https://forums.phpfreaks.com/topic/293225-what-would-be-the-best-way-to-add-filters-on-a-page/ Share on other sites More sharing options...
ginerjm Posted December 22, 2014 Share Posted December 22, 2014 Great idea - that's how one would do it. Be sure you spell all your code correctly. People can make allowances for misspelled words, but PHP cannot. Quote Link to comment https://forums.phpfreaks.com/topic/293225-what-would-be-the-best-way-to-add-filters-on-a-page/#findComment-1500388 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.