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

What is the importance of "action" attribute in a html form?

1012


Explain object-oriented methodology in php?

1002


How to enable error reporting in php?

1063


How to check a variable is array or not in php?

1015


Tell me how to create a session? How to set a value in session? How to remove data from a session?

998


How cookies are trported from browsers to servers?

1022


When to use inquire vs enquire?

985


Explain mail function in PHP with syntax?

1007


How do you check if a variable has not been set in php?

925


How to convert a json string to an array in php?

1063


What are the ways to define a constant in php?

1018


What is difference between sql and php?

1074


What are the different ways to login to a remote server?

1016


What is abstract class php?

937


Explain the difference between isset() and empty()?

959