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