The do...while Statement : While loop « Statement « PHP
- PHP
- Statement
- While loop
The do...while Statement
<html>
<head>
<title>The do...while Statement</title>
</head>
<body>
<div>
<?php
$num = 1;
do {
print "Execution number: $num<br />\n";
$num++;
} while ( $num > 200 && $num < 400 );
?>
</div>
</body>
</html>
Related examples in the same category