I'm running a complex query on a database using the following query code. I think i need clarification on syntax, or my code is completely wrong. Any help would be great, thanks.
Query block in php:
$query = "SELECT t.res_id,
t.name,
t.address,
t.town,
t.tel_no,
t.web_url,
t.cuisine,
t.blurb
FROM tayside t
WHERE t.name = '%$quicksearch%' OR
WHERE t.address = '%$quicksearch%' OR
WHERE t.town = '%$quicksearch%' OR
WHERE t.tel_no = '%$quicksearch%' OR
WHERE t.web_url = '%$quicksearch%' OR
WHERE t.cuisine = '%$quicksearch%' OR
WHERE t.blurb = '%$quicksearch%'";