Php tutorial in urdu 6 – Overview of loops

1 min


2 shares

In today video i will give you an overview of php loops. You will study how many loops are used in php.

http://www.dailymotion.com/video/x211a75_php-tutorial-in-urdu-6-overview-of-loops_tech

There are four types of loops used in php.

  1. For Loop
  2. While Loop
  3. Do while Loop
  4. Foreach Loop

We use loops in php because of following reason:-

  • By using loops we can speed up our coding and get rid of long coding.
  • It is a short term coding which comprises of code by which we can get lot of output and using small code.
  • It is very powerful and also used in other languages like c++, java, javascript and others.

Php loops plays an important role in coding and especially foreach loop is very powerful and handy while coding big projects.



Like it? Share with your friends!

2 shares
Junaid Rehman

I am a blogger and freelance web developer by profession. I love to blog and learn new things about programming and IT World.