Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Just a sidenote, instead of your current pattern of development, you may want to consider making the $db parameter a class field of Database, then using Webpage to extend Database, calling the parent constructor within the class constructor so that the database is already initialized within Webpage with little additional code needed.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
|