I have class that extends another class.
class TWITTER_FOLLOWERS extends TWITTER_BOT
in TWITTER_FOLLOWERS i want to acces the db object from TWITTER_BOT but i get just an error
Fatal error: Call to a member function fetch_all_array() on a non-object in /var/www/bot/inc/TWITTER_FOLLOWERS.php on line 163
On line 163 i have this code
$results = $this->db->fetch_all_array($q);
How can i access the parent object db ?