what is the diffrence between for and foreach?
Answer Posted / ajay jain
for() is a simply a loop which is execute to the given
condition but foreach given as array parameter return as
content of array
Is This Answer Correct ? | 22 Yes | 5 No |
Post New Answer View All Answers
What is a php 5?
What is die in php?
How to get no of arguments passed to a PHP Function?
How to get the total number of values in an array?
How can we display the output directly to the browser?
What is an anti csrf token?
How to create a mysql connection?
What are major variables in research?
What is the php function that removes the first element of the array and returns it?
Tell me what kind of things have you done on the social side?
Tell me what is the difference between ereg_replace() and eregi_replace()?
Why is php used?
Which are the best start and end tags to use?
Tell me how to create a session? How to set a value in session? How to remove data from a session?
What is helper function?