"for" statements not working yet
Posted: Tue Aug 09, 2011 6:50 pm
This is my code:
I'm not sure what's wrong.
I want it to execute the code between the brackets 5 times then after that echo the $first_numb;
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;