if ($this->fetch_field('userid', 'post') == 0 AND $this->fetch_field('username', 'post') == '') { $this->error('nousername'); return false; }