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 most convenient hashing method to be used to hash passwords?
What is stripslashes php?
How can we access the data sent through the url with the get method?
How do I stop php artisan serve in windows?
Explain what are the three classes of errors that can occur in php?
What is the basic function to search files for lines (or other units of text) that contain a pattern.
How to get no. of rows using MYSQL function?
When use javascript vs php?
What is full form of php? Who is the father or inventor of php?
What is $_ get?
Difference between get and post method.
How to run the interactive php shell from the command line interface?
List data types in PHP?
Can we run php in apache tomcat?
How does the identity operator === compare two values?