Hi!
Vielleicht kann mir jemand helfen - wie stelle ich es an, dass die Werte in das Array "weitergeschrieben" werden dh. nicht immer wieder bei 0 beginnen und ich am Ende der Schleife alle Werte (dh. wenn num_commands gleich 2 ist, dass ich dann das Ergebnis von 2 Schleifendurchl�ufen in meinem Array drinnen stehen hab) im Array stehen??
Vielleicht eh ganz simpel, aber ich checks nicht.
Vielen Dank f�r die Hilfe,
lg,
s.
Code:
for ($s=0; $s < $num_commands[$t]; $s++){
$commando_id[$s] = $commandinfo[$s]["commando_id"];
$commandname[$s] = $commandinfo[$s]["commando_name"];
$commandline[$s] = $commandinfo[$s]["commandline"];
$commandinfo1 = array("commando_id" => $commando_id[$s], "commandoname" => $commandname[$s], "commandoline" => $commandline[$s]);
//echo "<pre>";
//print_r($commandinfo1);
}
Vielleicht eh ganz simpel, aber ich checks nicht.
Vielen Dank f�r die Hilfe,
lg,
s.

Kommentar