how to use loop in php

Looping in php -:  Suppose if we want to calculate all sum of integer 1 to 100 or more then 100. It is not possible in  IF statement. This will be written in this way sum = sum + n*n; This calculation called looping in php. In looping a sequence of statement are executed until some … Read more how to use loop in php