Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Issue with Query
Post: RE: Issue with Query

This solved it: sv3tli0 Wrote: (11-27-2014, 01:25 PM) -- I think that in this case you can use IN instead of OR AND..> PHP Code: -- $this->db->where_in( 'position', array(1,3)); -- -- Than...
7,472 Views
0 Replies
11-27-2014, 01:42 PM
Prowell
    Thread: Issue with Query
Post: RE: Issue with Query

ivantcholakov Wrote: (11-23-2014, 09:50 PM) -- Code: -- SELECT * FROM (`employees`) WHERE (`position` = 1 OR `position` = 3) AND `status` = 1 ORDER BY `position` desc   -- -- I can't...
7,472 Views
0 Replies
11-27-2014, 12:36 PM
Prowell
    Thread: How to learn CI
Post: RE: How to learn CI

I learned CI by watching Nettuts+ screencasts. http://code.tutsplus.com/series/codeigniter-from-scratch--net-17602 (http://code.tutsplus.com/series/codeigniter-from-scratch--net-17602)
7,010 Views
0 Replies
11-23-2014, 06:40 PM
Prowell
    Thread: Issue with Query
Post: Issue with Query

:@ So I have been trying to figure this out and have hit a wall. This is the query that the profiler prints out: Code: -- SELECT * FROM (`employees`) WHERE `position` = 1 OR `position` = 3...
7,472 Views
0 Replies
11-23-2014, 06:38 PM
Prowell

Theme © iAndrew 2016 - Forum software by © MyBB