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
explain php variable length argument function.
Explain what does the unlink() function means?
What is the use of hooks?
What is a query in a database?
What does php exit do?
Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?
How to get useful error messages in php?
How many escape sequences are recognized in double-quoted strings in php?
What is php key?
How do I run a php script?
How to create a text file in PHP?
How do I escape data before storing it into the database?
What is laracast?
Where is the submitted form data stored?
What is file upload?