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

How to send a cookie to the browser?

982


What is Type hinting in PHP?

1095


What is the use of preg_match in php?

949


How does php isset work?

895


What is a PHP accelerator?

991


Why is php used for web development?

927


How can we get ip address of a client in php?

928


What kind of things have you done on the social side?

8977


What is the difference between $argv and $argc? Give example?

923


what are the differences between php and perl

2001


Can php run without apache?

977


Tell me whether it is possible to share a single instance of a memcache between multiple php projects?

936


What is global array in php?

1004


What does sign mean php?

940


How to get the total number of values in an array?

955