<table border="1px" cellspacing='0px' cellpadding="0px" width="270px">
<?php
    
for ($i=1;$i<=8;$i++){
    echo '<tr>';
   for ($j=1;$j<=8;$j++){
   // echo "i is ".$i." and j is ".$j."<br>";    
       //all black squares are odd
       $total = $j + $i;
       if ($total % 2== 0){
         echo '<td bgcolor="#ffffff" height="30px" width="30px" ></td>';
       }
       else {
         echo '<td bgcolor="#000000" height="30px" width="30px"></td>';
       }
 }   
    echo '<tr>';
}
?>
</table>
<table border="1px" cellspacing='0px' cellpadding="0px" width="270px">
<?php

for ($i=1;$i<=10;$i++){
    echo '<tr>';
    for ($j=1;$j<=10;$j++){
     echo  "<td>".$i* $j.'</td>';        
    }
    echo '</tr>'; 
}
echo '</table>';
    
for ($i=1;$i<=50;$i++){
    //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 if 
    $break = false;
    if ($i%3==0) {
        echo ' Fizz ('.$i.')';
        $break = true; 
    }
    if ($i%5==0) {
       $break = true; 
       echo ' Buzz ('.$i.')';
    } 
    //used a toggle var (break)
    if ($break == true){
    echo '<br>';  
    }
        
}    
    
    
    
?>    

    
    