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 __ construct in php?
What is a query in a database?
How do you destroy a session?
How to access a global variable inside a function?
Is php difficult to learn?
What is whitespace in php?
Write a php function to convert all null values to blank?
How to check whether a number is prime or not?
How long should a session last?
How can you pass a variable by reference?
Explain me what is sql injection?
What is cookie?
Is php case sensitive?
How to delete file in php?
Explain me the difference between include and require?