how to debug Fatal error: Call to a member function bind_param()

Subject:

once you have done a prepare()

  • $stmt = $cnx->prepare("INSERT INTO jobs (...

call echo $cnx->error;

if you beleive your variables do not have a problem

 

2016-01-13 17:21:59gstlouis