CodeIgniter Forums
how to get custom search result - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: how to get custom search result (/thread-63904.html)



how to get custom search result - nady - 12-21-2015

Hallo everyone
i need a help regarding custom search result.
like in my view page people can view their all transaction but in this page i want to give them more filtration like people can select boxes e.g. deposit, withdraw, transfer, pending, etc. and then they can view the result only selected.
Thanks
Nady


RE: how to get custom search result - mr_pablo - 12-21-2015

Bit vague to be honest.

Your filters clearly need to relate to some data that can be selected from your database tables.

I'm guessing the filters you mentioned are transaction statuses, so you simply need to add them into the query you are running.