$count1 = array();
$count1[0] = " 1";
$count1[1] = " 2 1";
$count1[2] = " 3 2 1";
$count1[3] = " 4 3 2 1";
$count1[4] = " 5 4 3 2 1";
$count1[5] = " 6 5 4 3 2 1";
for ($b = 1;$b <= 6;$b++)
{
echo $count[$b];
echo "<br>";
}
why does this not work? it just goes on forever. How do i use the $b to up the count of $count[]?
Arjen_2 0 Newbie Poster
ryantroop 177 Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.