vendredi 11 novembre 2016

How to implement multiple field searching in laravel?

I have been working on project which have 2 tables posts and description. I need to implement something like multiple field searching, when i select one or more option it should display the result matching those selected option(s). Don't know how to do without bulk of if else conditions. Please help ! This is my table structure

posts table id | posttype | featured description id |p_id | region | town I have tried with if else coditions, but have to check every posible conditon.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire