bracket problem in where clause - 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: bracket problem in where clause (/showthread.php?tid=45211) |
bracket problem in where clause - El Forum - 09-13-2011 [eluser]Unknown[/eluser] My Sql query is given below $sql = "SELECT * FROM tbl_blog where (blogTitle='software' OR blogTitle='release') AND (blogTitle='film' OR blogTitle='release')"; How to write above sql in codeigniter formate by using or_where clause? Bracket open and close "()" functionality is not available in codeigniter.Is a bug or any other thing. |