Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $select = $db->select();
- $select->from('table')->where('field IN (?)', array('one','two','three'));
- print $select;
- // Output: SELECT `table`.* FROM `table` WHERE (field IN ('one', 'two', 'three'))
Add Comment
Please, Sign In to add comment