Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

terug tellende for loop php

<?php
// a array
$weekday = array("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday", "Sunday");
// the for loop
for($i = 6; $i >= 0; $i = $i -1){ 
    print ( "$weekday[$i]<br>" );
}
?>
 
PREVIOUS NEXT
Tagged: #terug #tellende #loop #php
ADD COMMENT
Topic
Name
1+8 =