03-20-2008, 11:05 PM
|
#13 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 119
Thanks: 17
|
Quote:
Originally Posted by Orc
PHP Code:
$ar = array();
$num = 0;
go();
function go()
{
echo $ar[$num];
++ $num;
if ($num < count($ar))
go();
}
Figure out what I changed xD
|
It would give the same result.... (++$num)
Of course I forgot to put global $num, $ar....
|
|
|
|