what is the diffrence between for and foreach?
Answer Posted / ks.tarun
FOR loop will continue until some condition fails, but in
case of foreach loop will work until all item are processed.
Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
Why php is used in html?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
Tell me how do I escape data before storing it into the database?
Does php have a future?
What is php glob?
Which is true about the singleton design pattern?
Why die is used in php?
Tell us how can we display the output directly to the browser?
What is an associative array?
Explain array_uintersect()?
Does php need html?
How can a cross-site scripting attack be prevented by php?
Is php fully object oriented?
What is __ invoke in php?
What are form input html tags?