How can I loop through the members of an array?
Answer Posted / jude jeevanraj.p
If you want to create a quick and easy loop to show the
values of an array, then all you need is the trusty foreach
control structure, thus:
<?php
$alphabet = range("A","Z");
foreach
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Is echo a function in php?
Is php 5.6 secure?
How do sessions work in php?
How do you count numbers in php?
What is move_uploaded_file in php?
What is a query in php?
What is the best way to avoid email sent through php getting into the spam folder?
Is multilevel inheritance possible in php?
What is the difference between indexed and associative array?
Is php a dying language?
How many types of functions are there in php?
How many escape sequences are recognized in double-quoted strings?
Explain the difference between mysql_connect and mysql_pconnect?
Swap two variables value without using third variable in php ?
Tell me what does pear stands for?