Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is php the same as html?

950


What are some new features introduced in php7?

8818


What are the different filter functions used to filter a variable?

988


How to move uploaded files to permanent directory?

967


What are the uses of explode() and implode() functions?

1122


Is php coding easy?

961


What is the difference between php and java?

1003


What is isset php?

979


How can we calculate the similarity between two strings?

1011


What is the use of mvc in php?

1000


What are php parameters?

1012


Can age be a variable?

955


Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

954


What is alias in php?

1039


Can you pass an array into a function?

1083