Calling a class from another class OOP
<p>I currently have a class called Connect with the following code:</p>

<pre><code>class Connect
{
public $sqlHost='host';
public $sqlUser='user';
public $sqlPass='pass';
public $sqlDB='db';

public $db;
    public function __construct() {
        $this-&gt;db = new mysqli($this-&gt;sqlHost, $this-&gt;sqlUser, $this-&gt;sqlPass, $this&gt;sqlDB);
    }
}
?&gt;
</code></pre>

<p>I also have a class called TODO and I was wondering, how could I go about calling $db located in the Connect class from the TODO class?</p>
