This is my query, and I canot figure out why it won't work! Keep getting a check syntax error. If I use only one "=" sign, it won't read the value of the variable its supposed to be filtering for.... but I don't get the error. This has me stumped/pissed. Any help would be greatly appreciated.
Thanks...
Query//
"select l_id, l_name,l_slogan,l_phone,l_address FROM basic_listings WHERE l_cat1 == '$id' OR l_cat2 == '$id' OR l_cat3 == '$id' ORDER BY l_name DESC";
Thanks...
Query//
"select l_id, l_name,l_slogan,l_phone,l_address FROM basic_listings WHERE l_cat1 == '$id' OR l_cat2 == '$id' OR l_cat3 == '$id' ORDER BY l_name DESC";