Twitter

Missing Google images http://twitpic.com/1lsk2k-05/07/2010
X

If you have ever used OOP in your programming, I am sure you have experienced the flexibility you get. Also with the introduction of MySQLi class, we did not need to create our own database class anymore since MySQLi comes with almost all the functions you might need. Now the scope of this article is to show you use MySQLi in a class you created that handles something else but still needs a database connection and it is just redundant to create a new connection for every class you have in your code.


Continue reading »