[wp-hackers] WP 3.5.2/multisite: How to use NOT IN in $wpdb->prepare()?

Ryan McCue lists at rotorised.com
Tue Jul 16 04:24:41 UTC 2013


Ryan McCue wrote:
> $ids = array(1, '2', '3q', 'b');

Forgot to include output: 'NOT IN (1,2,3)'

-- 
Ryan McCue
<http://ryanmccue.info/>


More information about the wp-hackers mailing list