title: Get value of array to controller in Codeigniter
body: <p>I have code in view</p>
  
  <pre><code>  $(container).append('&lt;div class="form-group"&gt;'+'&lt;input type=text name="situs[]" class="input" id=tb' + iCnt + ' ' +
                          'placeholder="www.namasitus.com"' + iCnt + '" /&gt;');
  </code></pre>
  
  <p>in controller </p>
  
  <pre><code>    if (isset($_POST['situs']))
      {
      $array_domain = $_POST['situs'];
      foreach ($array_domain as $value) // loop array
      {
          $dataa = array(
          'situs' =&gt; $value
      );
      }   
      }
  </code></pre>
  
  <p>I just get 1 value (last value in array)
  how solve this problem</p>