Hi Leute hab da nen Problem:
schau Euch mal diese for schleife an:
	
Wie Ihr seht steht echo "<td>$umsatz</td>"; einmal in der foreach Schleife und einmal danach. Wieso hat $umsatz nach der foreach Schleife nur noch den Wert 0? 
[/PHP]
					schau Euch mal diese for schleife an:
PHP Code:
	
	
for($m = 1; $m <= 12; $m++)
{
    if($m < 10)
        $m = "0".$m;
    foreach($verkaufer[$v]["m$m"] as $week => $umsatz){
        $umsatz += $umsatz;
        echo "<td>$umsatz</td>";
    }
    echo "<td>$umsatz</td>";
    unset($umsatz);
} 
[/PHP]
          

Comment