Uops syr
habe das:

PHP-Code:
kontobuchung ('+',$result['gewinn'],$_SESSION['uid']); 
durch
PHP-Code:
db_query("UPDATE ".$db_prefix."_kontodaten SET bkontostand = bkontostand  + ".$result['gewinn']." WHERE uid= '".$_SESSION['uid']."'"); 
ersetzt war schon spät ^^