I have a for-loop to add items to an array, but when i use a for loop
to print these items, iI only get the last item of the array. This is
a simplified example of what i do, what is wrong with it:
for ($i=0;$i<10;$i++)
{
$test=array($i=>$i);
}
for ($t=0;$t<10;$t++)
{
echo "array".$t."= ".$test[$t]."<BR>";
}
Thanks in advance,
Kees