Why do I get this function call error on an non-object when I am calling a function on an object?
mysqli_fetch_assoc() expects parameter / Call to a member function bind_param() errors. How to get the actual mysql error and fix it?