Answers for "teruglopende for loop php"

PHP
1

teruglopende 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>" );
}
?>
Posted by: Guest on December-19-2020

Browse Popular Code Answers by Language