Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global $db;
- $opps = array();
- $query = "select id from opportunities
- left join opportunities_cstm on id = id_c
- where
- bid_open_datetime_c > GETDATE()
- and ( opportunities_cstm.package_received_c like 'on' or
- opportunities_cstm.package_received_c = '1' )
- and opportunities.deleted=0
- {$this->user_filter}
- ORDER BY bid_open_datetime_c ASC ";
- $results = $db->query($query);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement