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:
And, if you’d give me a likey-like I’d sure appreciate it!
P.S. If you liked the show, give it a like and share with the communities and people you think will benefit. And, you can always find all my tutorials, podcast episodes and more on johnmorrisonline.com, @jpmorris on Twitter and youtube.com/johnmorrisvideo.
Subscribe to the Podcast