Jump to content

What does this mean in oop? $this->db->query


Clandestinex337

Recommended Posts

Thanks, that makes sense. Instead of making another post, I will just put it in here.

 

The other part of the code I am trying to learn has public function __construct(MySql $db, $id = 0)

 

I am confused on the MySql $db. Does it give the class MySql = $db?

 

Thanks again!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.