ciao a tutti.
ho il seguente codice:
Codice PHP:
class Login extends Database{
.
.
private    
$db;
.
.
function 
__construct(){
    
$this->$db = new Database();
}

function 
verifyLogin() {
            
$query "select * from tabella";
            
$oggetto $this->$db->get_row($query);
    } 
il problema è che nella funzione verifyLogin non riesco a vedere l'oggetto $db come mai?
grazie a tutti!!!