Forum Moderators: coopster
$query1 = "SELECT * FROM products WHERE category ='home_cinema_audio' ";
$query2 = "SELECT * FROM products WHERE category ='hifi' AND brief_desc LIKE '%usb%' ";
I tried this...
$this_query = "SELECT * FROM products WHERE category ='hifi' AND brief_desc LIKE '%usb%' OR WHERE category ='home_cinema_audio'";
...but it gave an error. Does anyone know how I should properly form this query?
(these snippets are just part of the bigger code - I know that all the db connection stuff etc works fine)