Why SQLSTATE[HY000]: General error?

后端 未结 1 971
梦谈多话
梦谈多话 2021-01-24 10:20

This is a code to register the head of a group and then his partner(s).

newHead($_POST[\         


        
相关标签:
1条回答
  • 2021-01-24 11:01

    It happened to me something similar a few weeks ago. I fixed it changing the php.ini

    I changed

    ;extension=php_pdo_mysql_mysqlnd.dll
    extension=php_pdo_mysql_libmysql.dll
    

    to

    extension=php_pdo_mysql_mysqlnd.dll
    ;extension=php_pdo_mysql_libmysql.dll
    

    basically you change the mysql driver php uses. I used xampplite 1.7

    0 讨论(0)
提交回复
热议问题