PHP Source:
<!DOCTYPE html>
<html>
<body>

<?php  
for ($x = 0; $x <= 10; $x++) {
  echo "The number is: $x <br>";
}
?>
 

</body>
</html>
Result:
Show PHP - © w3schools.com
Privacy Policy