CodeIgniter Forums

Full Version: Search Filters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello i have a project where i want to add a filter in order to reduce the amount of entries shown to the user. I have added the option so that the user can select based on the year, but how can i pass that value to a variable in php. 
Here's a print screen :

You have several options. You could use an ajax call (after the selection is made). You could submit the form after a selection is made. Also, if your not opposed. You could use DataTables (my favorite) which has filters built in.