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 |
Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
How does html form submit work?
How do you define a constant?
Tell me how to find the position of the first occurrence of a substring in a string?
What is repository in php?
How many types of session are there?
How many ways can we get the value of current session id?
3 Answers Infosys, L&T, SysBiz, Torque Infotech,
What is the purpose of the following files having extensions 1) .frm 2) .myd 3) .myi? What do these files contain?
What is difference between strstr() and stristr() in PHP?
Define about declare construct?
What is php routing?
When use javascript vs php?