<?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
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
More than € 30.984,-