CodeIgniter Forums
Trying to filter based on selected checkboxes - 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: Trying to filter based on selected checkboxes (/showthread.php?tid=61436)



Trying to filter based on selected checkboxes - alexandervj - 04-15-2015

I have an app that shows a table of different "Lots" within these "Lots" are different "Runs". Right now I have it so that you can select a Lot and see the Runs inside that Lot, kind of like a folder hierarchy.

What I want to do is select multiple Lots to see the Runs in multiple Lots. In my Lots table I have checkboxes for each row but not sure how to set up the functions in the model and controller to get runs from the selected lots. 

Any help you can give is much appreciated. Thanks