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 reset an array in PHP?

Answer Posted / madipally

Its very simple uday,

we have an array of numbers , which contains
"Item1","Item2","Item3".

when we call next($numbers) , the pointer will be jump to
the next item, in this case Item2.After resetting using
reset($numbers) pointer will move to the first location that
is "Item1".

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain php variable length argument function.

1075


Explain what does the unlink() function means?

1124


What is the use of hooks?

969


What is a query in a database?

1022


What does php exit do?

1044


Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?

1012


How to get useful error messages in php?

1058


How many escape sequences are recognized in double-quoted strings in php?

993


What is php key?

964


How do I run a php script?

1168


How to create a text file in PHP?

1126


How do I escape data before storing it into the database?

981


What is laracast?

1025


Where is the submitted form data stored?

1079


What is file upload?

1075