ich würde es so machen :
PHP-Code:
$prozente = 5; // bei 5 prozent bonus
$faktor = $prozente/100 + 1;
$werbecoins = $_POST['ueberweisung'] * $faktor;
ich würde es so machen :
PHP-Code:
$prozente = 5; // bei 5 prozent bonus
$faktor = $prozente/100 + 1;
$werbecoins = $_POST['ueberweisung'] * $faktor;