Networking, Programming and Graphics Tutorials

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

Also while can be used for listing arrays:

<?php
$array
=array("One""Two"3"Apple");
while(list(
$key,$value)=each($array)) {
    echo 
"$key : $value\n";
}
?>
The result from above PHP script will be:

0 : One
1 : Two
2 : 3
3 : Apple
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Working with PHP while() operator [2/2] - Networking, Programming and Graphics Tutorials

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  site preview not working in plesk  emergency repair disk xp 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