Query Error: select * from ks_user as ku left join ks_user_info as ki on ku.uid=ki.uid where ku.uid= 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 1