Search Filters - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Search Filters (/showthread.php?tid=73183) |
Search Filters - kik94 - 03-28-2019 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 : RE: Search Filters - php_rocs - 03-28-2019 @kik94, 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. |