Timeline for Query multiple meta key values?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Oct 19, 2022 at 15:55 | history | suggested | CommunityBot | CC BY-SA 4.0 |
a jointure was missing between post table and meta alias table.
|
Oct 14, 2022 at 11:47 | review | Suggested edits | |||
S Oct 19, 2022 at 15:55 | |||||
Jan 27, 2012 at 6:14 | comment | added | Milo |
@steen - I'm not sure what your issue is, I've tested both methods and they are working in my install of 3.3.1. Is your key literally 'key1' and values 'value1' and 'value2'? Do you see nothing if you print_r( $the_query ); immediately after the query?
|
|
Jan 27, 2012 at 5:48 | comment | added | steen | Hi Milo thanks for answering. The SQL returns no value. And the array is returning no value as well unless I remove the 2nd key and value from the array. So is this bugged? | |
Jan 27, 2012 at 4:36 | history | answered | Milo | CC BY-SA 3.0 |