public function __construct($email, $password) { // echo "login class constructor called"; parent::__construct(); $this->check_user_exists($email, $password, $this->db_conn); }
public function __construct() { parent::__construct(); $this->check_session(); $this->check_loged_in($this->db_conn); }