<?php
for ($i=0;$i<=100;$i++){
//echo multiples of 3 replace FIzz  
if ($i % 3==0 &&  $i % 5==0){ echo "FizzBuzz";                         }
else if ($i % 3==0 &&   $i % 5!=0){
    echo 'Fizz<br>';
}
else if ($i % 5==0 &&  $i % 3!=0) { echo 'Buzz<br>';
        }
else {
    echo $i;
}
    }
?>

"Write a program that prints the numbers from 1 to 100.

But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. 

For numbers which are multiples of both three and five print “FizzBuzz”