Php tutorial in urdu 6 – Overview of loops

1 min


0
2 shares

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

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!

0
2 shares

What's Your Reaction?

LIKE LIKE
0
LIKE
DISLIKE DISLIKE
0
DISLIKE
DAMN DAMN
0
DAMN
CUTE CUTE
0
CUTE
OMG OMG
0
OMG
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.

0 Comments

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.