[wp-hackers] WP 3.5.2/multisite: How to use NOT IN in $wpdb->prepare()?
info at bungeshea.com
Tue Jul 16 06:28:15 UTC 2013
What format are the blog ids stored in, and where did they come from?
> From: mickyhulse.lists at gmail.com
> Date: Mon, 15 Jul 2013 19:43:01 -0700
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] WP 3.5.2/multisite: How to use NOT IN in $wpdb->prepare()?
> On Mon, Jul 15, 2013 at 7:36 PM, Micky Hulse <mickyhulse.lists at gmail.com> wrote:
> > With that said, how can I accomplish my goal of passing several blog
> > IDs into a query that uses wpdb::prepare() (like my example above)?
> I should say:
> What's the most practical and secure way (I want to avoid little Bobby
> Tables http://xkcd.com/327/) to pass a list of blog IDs into the NOT
> IN clause of wpdb::prepare() SQL statement?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers