reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia

Working with PHP while() operator [1/2]

Type: Code reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia
Working with PHP while() operator
Level: Beginner reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia 
Working with PHP while() operator
Date: 2007-Apr-26
Working with PHP while() operator
Visited: 1292 times
Working with PHP while() operator
Rating: Working with PHP while() operator
Working with PHP while() operator
Author: Ivory Morhuld
This tutorial will show you how to use PHP while operator

while loops are the simplest type of loop in PHP. They behave just like their C counterparts.

Next example will show you simple code for printing the digits from 10 to 1.

<?php
$k
=10;
while(
$k!=0) {
    echo 
"$k\n";
    
$k--;
}
?>
The result from above PHP script will be:

10
9
8
7
6
5
4
3
2
1
reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia - Working with PHP while() operator [1/2] - reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: working with functions php  trillian webcam not working  remote desktop is not working in ccproxy  rdp-tcp plesk remote desktop not working  working with files unix shell rename  vista remote desktop not working after changing port  precedence of operator or hierarchy of operator of C++  php for while operator  php AND operator  php while operator  "while operator"  php while operator  while operator  & * operator in c++  php while +operator  operator c++ ^= += -= *= /=  while operator ftp  while operator php  while operator php  What is an operator in c++