samedi 12 décembre 2015

PHP Class Return ErrorInfo()

I have the following class in PHP

class MyDB extends SQLite3
{
    function __construct()
    {
        $this->open('Database.db');
    }
}

and it is called by $db = new MyDB();. Is there a way to make $db->errorInfo() return the errorInfo() function for databases?

Aucun commentaire:

Enregistrer un commentaire