Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

The do...while Statement

Mon Oct 27, 2008 12:46 pm

Code:

<html>
<head>
<title>The do...while Statement</title>
</head>
<body>
<?php
$num
= 1;
do{
    print
"Execution number: $num<br>\n";
    
$num++;
} while (
$num > 200 && $num < 400 );
?>
</body>
</html>




Post a reply
  Related Posts  to : The do...while Statement
 difference between break statement and a continue statement     -  
 difference between a while statement and a do statement     -  
 Using the for Statement     -  
 PHP if statement and else if     -  
 Need help with if statement     -  
 while Statement in php     -  
 JOptions and If - Else statement     -  
 Define statement     -  
 For statement without all three statements     -  
 global statement in php     -  

Topic Tags

PHP Loops