Error in query: SELECT u.id , u.u_name , u.u_pic , u.tel , u.line, u.etc_com FROM user as u WHERE u.id= 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 '' at line 2