Code: Select all
for(5)
{
$first_numb+=1;
return $first_numb;
}
echo $first_numb . " first_numb has had 1 added 5 times.";I want it to execute the code between the brackets 5 times then after that echo the $first_numb;
Moderator: General Moderators
Code: Select all
for(5)
{
$first_numb+=1;
return $first_numb;
}
echo $first_numb . " first_numb has had 1 added 5 times.";