![]() |
Problems using "where"and "like" together . . . - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problems using "where"and "like" together . . . (/showthread.php?tid=54973) |
Problems using "where"and "like" together . . . - El Forum - 10-03-2012 [eluser]blorriman[/eluser] I'm trying to find a keyword ($keywords) in 2 different fields of the same table, but I need to join the table with another one to get more info, but when I try to use a where statement for the group_id it seems to ignore it. Here's the code : Code: function topics($keywords) { Any suggestions would be greatly appreciated - Thanks. Problems using "where"and "like" together . . . - El Forum - 10-04-2012 [eluser]blorriman[/eluser] Solved - the LIKE operators need to be in brackets : Code: function topics($keywords) { |