You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '/js/img/common where uid='logo.png'' at line 1
select passwd,bbs_level,bbs_d_id,cell,wdate,st from bbs_new/js/img/common where uid='logo.png'