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
What is regular expression in javascript?
How to convert one date format into another in php?
How does php work with apache?
Is php open source?
How big is nvarchar max?
Is python easier than php?
Php being an open source is there any support available to it?
What is urlencode and urldecode in php?
How error handling is being handled by php?
Tell me what sized websites have you worked on in the past?
What are the advantages of triggers?
What is the difference between get and post method in php?
How can we get the error when there is a problem to upload a file?
Write a program to display reverse of any number?
How to strip whitespace (or other characters) from the beginning and end of a string?