php basic
Posted: Fri Oct 29, 2010 12:59 am
Code: Select all
<?php
function Test()
{
static $count=0;
$count++;
echo $count."<br>";
if($count<10)
{
Test();
}
Test();
}
?>scottayy wrote:Please use the PHP Code button when posting code in the forums.