Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5527

duucmeister on "Can't get a WP query working"

$
0
0

Hi there,
Thanks very much for your response and help!
When I entered the script however and tried to use the search function (frontend) all the entries in de database were echoed. Do you by any chance know if the script as you suggested it works like
SELECT * FROM ... WHERE value1 = $var1 AND value2 = $var2 OR value3 = $var3
or
SELECT * FROM ... WHERE value1 = $var1 AND (value2 = $var2 OR value3 = $var3)
Cheers!


Viewing all articles
Browse latest Browse all 5527

Trending Articles