Posts by user3666745 • 33 points
1 post
-
3
votes2
answers23592
viewsQ: Using a class function within another PHP class
I have two classes, which is the correct way to call a function of another class, the way below returns error class DB { public function __construct($user, $password, $database, $host) {…