title: got multiples number in php
body: <p>Make a program that prints the numbers from 1 to 100,</p>
  
  <p>which, if the numbers are multiples of three will print the word</p>
  
  <p>"Max" (without the quotes two), and if the number is a multiple of five</p>
  
  <p>will be scored "Good", and if the number is a multiple of three and five</p>
  
  <p>both, then it will print "MaxGood".</p>
  
  <p>here my script</p>
  
  <pre><code>&lt;?php 
      for ($x = 1; $x &lt;= 100; $x++) {
          echo "$x,";
      } 
      $check_number = 100; 
      for ($i = 1; $i &lt; $check_number; $i += 3) 
      { 
          echo "&lt;br&gt;$i = Max"; 
      }
      for ($i = 1; $i &lt; $check_number; $i += 5) 
      { 
          echo "&lt;br&gt;$i = Good"; 
      }   
      for ($i = 1; $i &lt; $check_number; $i += 3 and $i += 5) 
      { 
          echo "&lt;br&gt;$i = MaxGood"; 
      } 
  ?&gt;
  </code></pre>
  
  <p>the last function is wrong please help me</p>