Hey,
I've been working on this (simple) MySQL class. It's gone well so far, but I can't seem to call a function from within a function inside the class.
I want to be able to call the safeSQL function inside the executeQuery function, so that everytime I run a query it automatically checks to make sure the "SQL" is "safe".
However, whenever I try to do that, I get this error:
Fatal error: Call to undefined function safeSQL() on line 53
Can't you call a function from within a function in a PHP class?
I appreciate your help. I'm kind of new to this whole OOP thing.