So i have been working with PHP forever (well 2 years or so lol) and i just recently started working with OOP. It isnt to hard but just a little confusing, this is how I have been implementing it..
So i created a class called Brain. It holds the functions used for accessing the database (like select, delete, getNumRows etc..) it also has some functions for changing the dateTime from the database into readable dates (January 1st, 2010). Thats what Brain does.
Then I have another class called conversations which extends brain (almost all my classes extend brain because they all use those basic functions), and it get and displays messages from the database...
So does this seem like i am implementing OOP correctly? Do you have any suggestions