![]() |
Searching Query - 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: Searching Query (/showthread.php?tid=66438) |
Searching Query - wolfgang1983 - 10-22-2016 I am creating a search query. When I submit my form and if I search for a category lets say codeigniter then should get all questions within that category or if I search for a question it will just show questions that match. I can only search for title at the moment in questions. Is there any better way? PHP Code: // $this->db->or_where('c.name', $search); PHP Code: <?php |