You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and bd.status='active' order by b.id' at line 2
SELECT distinct b.id as b_id,b.name as b_name, b.logo as b_logo FROM
brands b, brandsdesc bd where bd.brand_id=b.id and bd.category_id= and bd.status='active' order by b.id
- line 686 of lib/dmllib.php: call to debugging()
- line 966 of lib/dmllib.php: call to get_recordset_sql()
- line 189 of ry.php: call to get_records_sql()
No Brands Found for this Product