mysql: Commands out of sync; you can't run this command now -> when query is run in php function

后端 未结 0 773
不思量自难忘°
不思量自难忘° 2021-02-13 03:41

Having this code:

 $sql = "SELECT * FROM users WHERE user_login=?;";
        $stmt = mysqli_stmt_init($conn);

        if (!mysqli_stmt_prepare($stmt, $         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题