Fatal error: Call to a member function bind_param() on a non-object

后端 未结 1 463
轻奢々
轻奢々 2021-01-21 23:59

This is part of my code

$con = mysqli_connect(\"localhost\",\"root\",\"\",\"baspdata\",3306);
if (mysqli_connect_errno())
{ 
echo \"Error connecting to database:         


        
相关标签:
1条回答
  • 2021-01-22 00:36

    the query fail and dont return the prepared stament look,

    VALUES(?,?,?,?,?,?,?.?)
    

    change to

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