du musst die Zeile mit bonuslose(...);
durch einen db_query() ersetzen:
PHP-Code:// bonuslose( '+', $menge, $_SESSION['uid'] );
db_query( 'UPDATE vms_kontodaten SET bkontostand = bkontostand + '.$menge.' WHERE uid = '.$_SESSION['uid'].' LIMIT 1' );
du musst die Zeile mit bonuslose(...);
durch einen db_query() ersetzen:
PHP-Code:// bonuslose( '+', $menge, $_SESSION['uid'] );
db_query( 'UPDATE vms_kontodaten SET bkontostand = bkontostand + '.$menge.' WHERE uid = '.$_SESSION['uid'].' LIMIT 1' );
Kill one man, and you are a murderer.
Kill millions of men, and you are a conqueror.
Kill them all, and you are a god. - Jean Rostand, Thoughts of a Biologist (1939)