what is the diffrence between for and foreach?

Answers were Sorted based on User's Feedback



what is the diffrence between for and foreach?..

Answer / guest

for is using iin looing process where foreach is used for
out put the data.

Is This Answer Correct ?    15 Yes 50 No

Post New Answer

More PHP Interview Questions

What is the difference between htmlentities() and htmlspecialchars()?

0 Answers  


What is alias in php?

0 Answers  


How can we extract string ‘abc.com ‘ from a string info@abc.com" target="_blank">http://info@abc.com using regular expression of php?

6 Answers  


How many open modes available when a file open in PHP?

0 Answers  


What is session management php?

0 Answers  


How to call php function from javascript using ajax?

0 Answers  


How to get the number of visitors in a site?

2 Answers  


is 'easyphp' is compelete technology to design a phpmysql site?

3 Answers  


What is escaping to php?

0 Answers  


What is htaccess?

1 Answers  


How to write the form tag correctly for uploading files?

0 Answers  


what is Opern source?

3 Answers  


Categories