Hello all,
So, let me first explain briefly my classes. I have designed a backend class which I want to serve as a object, which other classes use to connect to the db, so later I can extend my backend class to support other databases. You can view the sample code here. My core.php file is my core 😛 at the end of the implementation, I access a db and query a table to test my backend object. It successfully puls the data. Then I want to test my config class, which pulls some basic configuration, but then it fails to do its work 🙁 any suggestions ?
Thanks very much 😃
PS. I want the code to be compatible with PHP4, I know I can use references in PHP5 for this purpose.