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
Where do I run php code?
Why print_r is used in php?
What is the purpose of the '.myd' file extension? What do thes file contain?
What are the popular content management systems (cms) in php?
What is the main difference between require() and include()?
How to Retrieve a Cookie Value?
What is difference between base_url and site_url?
What are default session time and path?
How long is session timeout?
When sessions ends?
Explain me what is the use of 'print' in php?
What is query string php?
What is a php web application?
iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not
Is php used in 2019?