select * from tb_Member a inner join tb_Member_Brand b on a.userid = b.it_member where b.it_brand =

1064 : 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 '' at line 4

error file : /shop/view.php