Why do I get this function call error on an non-object when I am calling a function on an object?

前端 未结 3 812
野的像风
野的像风 2021-01-20 08:04

Error:

Fatal error: Call to a member function bind_param() on a non-object in /var/www/web55/web/pdftest/events.php on line 76

Co

3条回答
  •  时光说笑
    2021-01-20 08:51

    $this->link->prepare this statement is not returning the object so it is giving you the error

提交回复
热议问题