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 's register, computing 6. (thread2) add 1 to thread 2's registe 
又是次的出现这个错误,这又是怎么会事呀?小弟比较菜,刚学PHP,请教了!

解决方案 »

  1.   

    你的sql语句有错误,把你的sql语句贴出来看看
      

  2.   

    恩,对了,好像是你的sql语句中有符号错误,
    的select * from tbl where name='a'les' 这样就会有错误,
    你的这个错误就是里面的'出错,
      

  3.   

    用双引号select * from tbl where name="a'les"