title: Does this create some kind of perpetual loop? PHP wont execute properly
body: <p>Does this create some kind of perpetual loop or something? I've tried posting data, and the page simply won't load, the page containing the form simply keeps "loading" on form submission.</p>
  
  <pre><code>for($i = 1; $i = 5; $i++) {
      $country[$i] = $_POST['country_'.$i];
      $redirect[$i] = $_POST['redirect_'.$i];
  }
  
  var_dump($country);
  var_dump($redirect);
  </code></pre>
  
  <p>Here's my form;</p>
  
  <pre><code>&lt;form action="query.php" method="post" id="geoui"&gt;
  &lt;div id="input1" class="clonedInput"&gt;
  &lt;select name="country_1" class="px460s"&gt;
  &lt;option selected="selected" value="auto"&gt;Choose country to set rule for..&lt;/option&gt;
  &lt;option&gt;United Kingdom&lt;/option&gt;
  &lt;option&gt;Canada&lt;/option&gt;
  &lt;/select&gt;
  &lt;input name="redirect_1" type="text" class="px460" value="http://"&gt;
  &lt;div class="break"&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div id="input2" class="clonedInput"&gt;
  &lt;select name="country_2" class="px460s"&gt;
  &lt;option selected="selected" value="auto"&gt;Choose country to set rule for..&lt;/option&gt;
  &lt;option&gt;United Kingdom&lt;/option&gt;
  &lt;option&gt;Canada&lt;/option&gt;
  &lt;/select&gt;
  &lt;input name="redirect_2" type="text" class="px460" value="http://"&gt;
  &lt;div class="break"&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div id="input3" class="clonedInput"&gt;
  &lt;select name="country_3" class="px460s"&gt;
  &lt;option selected="selected" value="auto"&gt;Choose country to set rule for..&lt;/option&gt;
  &lt;option&gt;United Kingdom&lt;/option&gt;
  &lt;option&gt;Canada&lt;/option&gt;
  &lt;/select&gt;
  &lt;input name="redirect_3" type="text" class="px460" value="http://"&gt;
  &lt;div class="break"&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div id="input4" class="clonedInput"&gt;
  &lt;select name="country_4" class="px460s"&gt;
  &lt;option selected="selected" value="auto"&gt;Choose country to set rule for..&lt;/option&gt;
  &lt;option&gt;United Kingdom&lt;/option&gt;
  &lt;option&gt;Canada&lt;/option&gt;
  &lt;/select&gt;
  &lt;input name="redirect_4" type="text" class="px460" value="http://"&gt;
  &lt;div class="break"&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div id="input5" class="clonedInput"&gt;
  &lt;select name="country_5" class="px460s"&gt;
  &lt;option selected="selected" value="auto"&gt;Choose country to set rule for..&lt;/option&gt;
  &lt;option&gt;United Kingdom&lt;/option&gt;
  &lt;option&gt;Canada&lt;/option&gt;
  &lt;/select&gt;
  &lt;input name="redirect_5" type="text" class="px460" value="http://"&gt;
  &lt;div class="break"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Any advice or answers would be greatly appreciated ;)!</p>