The fact is that I want to capture 2 variables per POST and that a group of if elseif compare them. Example
<?php
$var1 = $_POST['var1'];
$var2 = $_POST['var2'];
$var3 = 0;
if ($var1 == 1 && $var2 == 2){
$var3++;
}
?>
The problem is that I want the value of the variable to change permanently in case the if throws a TRUE boolean, since thus reloading the page the $ var3 returns to 0.