JMS089: PHP Fatal Error [FIX]: Call to a Member Function Fetch_Assoc On a Non-Object
I remember this annoying error like it was yesterday. It always baffled me a bit when I first started learning PHP (I know… N00B!): Fatal error: call to a member function fetch_assoc() on a non-object. It was always the line number that tripped me up. Anyhoo, here’s what’s really going on and how to kill this error dead once and for all.
Support the show and get the perks on Patreon:
Show notes page for this episode:
http://www.johnmorrisonline.com/89
Join the Top 3% of Developers On TopTal:
http://www.johnmorrisonline.com/toptal
Subscribe on YouTube:
http://youtube.com/johnmorrisonline
Subscribe on Google Play Music:
https://johnmorrisonline.com/android
Subscribe on iTunes:
http://goo.gl/RggnXW
-~-~~-~~~-~~-~-
Please watch: “What the hell do I specialize IN?”
-~-~~-~~~-~~-~-
source