Example #1
0
 public function __construct($database, $username, $password)
 {
     $this->db = $database;
     $this->username = $username;
     $this->password = $password;
     $this->error = true;
     parent::__construct($this->db, '', 'insert');
     $this->init();
 }
Example #2
0
 public function __construct($database, $username, $password, $rep_password, $email, $phone, $adress, $zip, $area)
 {
     $this->db = $database;
     $this->username = $username;
     $this->password = $password;
     $this->rep_password = $rep_password;
     $this->email = $email;
     $this->phone = $phone;
     $this->adress = $adress;
     $this->zip = $zip;
     $this->area = $area;
     $this->error = true;
     parent::__construct($this->db, '', 'insert');
     $this->init();
 }