How can I loop through the members of an array?
Answer / 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 |
What is design pattern? Explain all including singleton pattern?
How is a session id generated?
Steps for the payment gateway processing?
Can php run without server?
What is php in simple words?
Can a trait extend a class php?
How to remove html tags from data in php?
What are the different functions in sorting an array?
Explain me what is sql injection?
How can you compare objects in php?
How many Types of COmments are there in PHP and what are they?
How to define a function with any number of arguments?