Guest User

Untitled

a guest
Jun 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. <?php
  2. $select = $db->select();
  3. $select->from('table')->where('field IN (?)', array('one','two','three'));
  4. print $select;
  5.  
  6. // Output: SELECT `table`.* FROM `table` WHERE (field IN ('one', 'two', 'three'))
Add Comment
Please, Sign In to add comment