what is the diffrence between for and foreach?
Answer Posted / web developer
for loop is to do something over and over again until the
task has been completed.
foreach works only on arrays. even it will run the loop
until end of the array.
Is This Answer Correct ? | 120 Yes | 8 No |
Post New Answer View All Answers
How to download and install php for windows?
Tell me are parent constructors called implicitly inside a class constructor?
What is static variable in php?
What is the current php version?
What is meant by pdo in php?
What is php explain?
What are the characteristics of php?
How to create a directory?
How does php work?
What backslash character will match whitespace?
Is php a strongly typed language?
Write a query to find the 2nd highest salary of an employee from the employee table?
What is the difference between htmlentities and htmlspecialchars in php?
How to track no of user logged in?
How does php and apache work?