title: For loop gives Undefined variable
body: <p>So I have five member-variables, but instead of writing:</p>
  
  <pre><code>if(isset($_POST['member1'])) {
      $member1 = mysqli_escape_string($mysqli, $_POST['member1']);
  } else {
      $member1= '';
  }
  </code></pre>
  
  <p>for all of the members (which gives no error), I want to do a for loop, but everytime I run the loop:</p>
  
  <pre><code>for($i = 1; $i &lt;= 5; $i++) {
      if(isset($_POST['member . $i'])) {
              $member . $i = mysqli_escape_string($mysqli, $_POST['member . $i']);
          } else {
              $member . $i = '';
          }
  }
  </code></pre>
  
  <p>I recieve this error:</p>
  
  <pre><code>Notice: Undefined variable: member
  </code></pre>
  
  <p>five times. What am I doing wrong?</p>