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
What is difference between require_once(), require(), include()?
What is a composer?
What language is php based on?
Where is the functions php in wordpress?
What is difference between web service and api?
What is the difference between require_once and require in php?
Write a statement to show the joining of multiple comparisons in php?
Php program to generate fibonacci series?
What is cookies php?
What is php session start?
Write a program using while loop in php?
What is the basic syntax of Php?
What is the difference between get & post ?
What are classes in php?
Explain what is meant by pear in php?