KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have one PHP class thus: class DB extends mysqli{ public function __construct( { parent::__construct('localhost','user','password','db'); } } My problem is that I want to override this class with a new one that performs more privileged database operations with a different db user. class adminDB extends DB{ public function __construct( { ?? } } } What should I do here?
Tags (comma-separated)
Save Edits
Cancel