<?php $_REQUEST['income']= 2; $income = $_REQUEST['income']; //Gross Income Overview function ovIncome($income) { //Check if Less Than or More Than if ($income == 0) { $wageVal = 'Less than € 30.984,- '; } elseif($income == 1) { $wageVal = 'More than € 30.984,- and same as € 61.200,-'; } else { $wageVal = 'More than € 30.984,-'; } echo "$wageVal"; } ovIncome($income);// caling function by passing variable as a parameter
You have javascript disabled. You will not be able to edit any code.