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 |
Is php still used?
Can you define an array argument as a reference type?
What is prepared statement in php?
What are the special characters you need to escape in double-quoted stings?
How can we submit a form without a submit button?
23 Answers ABC, HCL, Infosys, Kept Bug, Panys, Rushmore Consultancy, Torque Infotech, Wipro, zCon Solutions,
How to delete an element from an array?
Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?
What library is used for pdf in php?
Why json is used in php?
What is the use of isset() in php?
Can anyone explain about join?
Can php variables have numbers?