function __construct() { $model = new Model(); $this->connection = $model->get_connection(); //$this->connection = new mysqli('sql4.freemysqlhosting.net', 'sql497000', 'bGNjUbh2SS', 'sql497000'); $this->check(); }