private $db = null;
in connect
if(!is_a($this->db)
{
throw new PDOException('ERROR');
}
Ancora meglio usa instanceof
![]()
private $db = null;
in connect
if(!is_a($this->db)
{
throw new PDOException('ERROR');
}
Ancora meglio usa instanceof
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it