Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
The do...while loop
SUBMITTED BY:
henry1874w
DATE:
June 12, 2017, 4:13 p.m.
FORMAT:
Text only
SIZE:
149 Bytes
Raw
Download
Tweet
HITS:
365
Go to comments
Report
<!DOCTYPE html>
<html>
<body>
<?php
$x = 1;
do {
echo "The number is: $x <br>";
$x++;
} while ($x <= 5);
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus