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?



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

Post New Answer

More PHP Interview Questions

What is cookies php?

0 Answers  


What is the difference between $var and $$var?

0 Answers  


How to test if a variable is an array?

0 Answers  


How do I find out the number of parameters passed into function?

1 Answers  


Is there any way to call a JAVASCRIPT function in PHP in AJAX

4 Answers  


How do you achieve page caching in PHP?

3 Answers  


Is it possible to submit a form with a dedicated button?

0 Answers  


how to open & closing opening period in fico

0 Answers   NS,


What is the exact Diff. between include_once() and require_once() in PHP?

12 Answers  


how to detect a mobile device using php

0 Answers  


Tell me what is the definition of a session?

0 Answers  


What is the $_ server php_self variable?

0 Answers  


Categories