Why was this question closed (x-sendfile - mysql update query breaks it?)? (THE DUP ISN'T A DUP) The comments are not even relevant to the question. I never indicated that $member_id is an INT. Nor did I indicate I had any mysql errors...
They indicate there is a similar post (mysqli_fetch_assoc() expects parameter / Call to a member function bind_param() errors. How to get the actual mysql error and fix it?)? What's similar exactly? Because both involve mysql? My mysql query works fine... no problems there at all.
I have since posted the complete code. I flagged it for reopening. Maybe someone can explain to me what I've done wrong here...