Bind_param Non-Object Error w/ mysqli

前端 未结 1 403
走了就别回头了
走了就别回头了 2020-12-11 23:38

When attempting to insert the initial row for a table that will track daily views, I am getting the error:

Fatal error: Call to a mem

相关标签:
1条回答
  • 2020-12-12 00:13

    The problem was user error: I had the name of the result column wrong.

    This was uncovered when I added echo $mysqli->error; after the line $stmt = $mysqli->prepare($sqlquery); which revealed the column-name error.

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