title: How Split arrays into two columns With PHP
body: <p>i have arrays like :</p>
  
  <pre><code>   foreach($Pics AS $Allpics) { 
        print $Allpics;
       }
  
  Result my values: 
   string(40) "760_e7c5c3202c778318fdf92f406da31742.jpg"
   string(40) "760_00f500b6398b4d8a0cde299730f57148.gif"
   string(40) "760_54b1bb6895b636f45c56911be4f67c11.png"
   string(40) "760_05986e1f46651698a8aa4f8ed17ab070.jpg"
  </code></pre>
  
  <p>i need Split array values into two columns !</p>
  
  <p>like :</p>
  
  <pre><code> [column 1]                                            [column 2]
  
   760_e7c5c3202c778318fdf92f406da31742.jpg             760_54b1bb6895b636f45c56911be4f67c11.png
   760_00f500b6398b4d8a0cde299730f57148.gif             760_05986e1f46651698a8aa4f8ed17ab070.jpg
  </code></pre>
  
  <p>Html Result like :</p>
  
  <pre><code> &lt;div class='row'&gt;
  
     &lt;div class='col-sm-6'&gt;                                                                         
          760_e7c5c3202c778318fdf92f406da31742.jpg
          760_54b1bb6895b636f45c56911be4f67c11.png
     &lt;/div&gt;   
  
     &lt;div class='col-sm-6'&gt;                                                                             
         760_00f500b6398b4d8a0cde299730f57148.gif
         760_05986e1f46651698a8aa4f8ed17ab070.jpg
     &lt;/div&gt;
  
   &lt;/div&gt;
  </code></pre>
  
  <p>thanks for your help my friends!</p>