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 the delimiter default in PHP?
Explain the casts allowed in PHP?
How to invoke a user function?
What is the difference between php and core php?
How can you send http header to the client in php?
Explain the difference between mysql_connect and mysql_pconnect?
What are the final class and final method?
What are php functions?
Explain what is the use of "echo" in php?
Is php a strongly typed language?
What is difference between php and html?
What is php compared to html?
How to retrieve the original query string?
What is the current php version?
Explain about PHP cookies?