I am trying to get $wpdb to return a Query with an “IN” statement in the WHERE clause, but although the query is perfectly ok, I only getting errors..
Query looks like this:
UPDATE table SET caption = 'abcd' WHERE id IN (17,18,19,20,21,22)
looks like $wpdb doesnt understand “IN” or is there something i am missing?
- The topic ‘wpdb->query and IN (1,2,3,4,5) queries’ is closed to new replies.