PHP-Code:
db_query("UPDATE ".$db_prefix."_kontodaten SET bkontostand = bkontostand + ".$_POST['ueberweisung']." WHERE uid=".$_SESSION['uid']."");
db_query("UPDATE ".$db_prefix."_kontodaten SET kontostand = kontostand - ".$_POST['ueberweisung']." WHERE uid=".$_SESSION['uid']."");
abändern zu
PHP-Code:
$bonusgutschrift1 = bcmul($_POST['ueberweisung'], '1.06' , 2);
db_query("UPDATE ".$db_prefix."_kontodaten SET bkontostand = bkontostand + ".$bonusgutschrift1." WHERE uid=".$_SESSION['uid']."");
db_query("UPDATE ".$db_prefix."_kontodaten SET kontostand = kontostand - ".$_POST['ueberweisung']." WHERE uid=".$_SESSION['uid']."");