You are on page 1of 1

<?

php
$n=4;
for($i=1;$i<$n;$i++)
{
array_fill($a, $i);
}

foreach($a as $x)
{
$fact=$fact*$x;
}
echo $fact;
?>

You might also like