Last try didn't work out so for now i quit trying...... Gonna get me another way to make this work....:-)
This sucks
// GET GDPR DATA
public function findGdprByUserID($user_id){
$this->dao->select('pk_i_id as $user_id');
$this->dao->from($this->getTable_user());
$this->dao->where(array('pk_i_id' => $user_id, 'i_gdpr_tc' => $tc, 'i_gdpr_pp' => $pp, 'i_gdpr_nw' => $nw));
$this->dao->get($this->getTable_user(), $values, array('pk_i_id' => $user_id, 'i_gdpr_tc' => $tc, 'i_gdpr_pp' => $pp, 'i_gdpr_nw' => $nw));
if ($tc==1){
return false;
} else {
return true;
}
}