I'm currently recoding everything from functional programming to oop since it looks nicer and is more common. But I'm facing this issue. Please see the images below:
I'm looking up some guides to see if I'm doing it wrong. I'm very self conscious am I doing something wrong? Is this normal? I looked up an object oriented mysqli connection and data retrieval I didn't see much of a difference of what I'm doing.
All the best,
edit: forgot to mention, the code you see does work fully.