The foreach Loop
Out Put:Code:<html> <body> <?php $x = array("one", "two", "three"); foreach ($x as $value) { echo $value . "<br/>"; } ?> </body> </html>
one
two
three
It will print the values of the given array
The foreach Loop
Out Put:Code:<html> <body> <?php $x = array("one", "two", "three"); foreach ($x as $value) { echo $value . "<br/>"; } ?> </body> </html>
one
two
three
It will print the values of the given array
very nice to have this. this is the same like as the C++. if you know C++ then you attempt it by yourself. is this?
other wise you have to learn this by default.
Thankyou ^_^
it's not hard to study
Bookmarks