hello, fairly new to php after coming from asp.
anyway, a quick question. i have developed a simple mysql database class which handles db connections and queries. i am now working on developing a blog class which will be in charge of adding new blogs, editing, viewing and the like using my existing mysql datbase class.
this meens that when i go to use my blog class, i will indirectly also be using my mysql class.
is this what 'extending' classes is all about?
i dont want to directly use my mysql class.
should my blog class be an extension of the mysql class?
i know this probably comes down to my own choice, but having never worked with any kind of OOP language, just looking for some ideas...
thanks.