Hey there i am just starting to try pdo in OO. I am getting this error Call to a member function prepare() on a non-object

I have a constructor

PHP Code:
public function __construct($pdo){
        
$this->pdo $pdo;
    } 
and then i am calling the prepare like so
PHP Code:
$this->pdo->prepare($query
for those of you that work with pdo in OO how do you set it up. Am i on the right track?


Thanks in advanced!