array function?
Posted: Sun Nov 07, 2004 4:20 am
i have two variables ($sums1, $sums2) which have nine values in them(seperated by ":") 8:2:12:23:12:23:33:32:23
i wanted to get each of those values seperated into nine seperate variables
i tried this
but that did not seem to work. any ideas on how to do this properly?
i wanted to get each of those values seperated into nine seperate variables
i tried this
Code: Select all
for ($i=0; $i<=8; $i++)
{
$sums1[$i]=split(":",$sums1);
$sums2[$i]=split(":",$sums2);
}