title: Wrong array with while
body: <p>I'm sorry for this question, I'm sure is a noob question. </p>
  
  <p>But... I'm not able to manage that and I'm sorry for asking your help.</p>
  
  <p>I have this script:</p>
  
  <pre><code>   &lt;?php
         $query = "SELECT logo FROM club";
         $result = $con-&gt;query($query);
         while($row = $result-&gt;fetch_all(MYSQLI_NUM)){
         print_r($row);
     }
     ?&gt;
  </code></pre>
  
  <p>I'm obtaining this kind of array:</p>
  
  <pre><code>Array ( [0] =&gt; Array ( [0] =&gt; AldwychVertigos.png ) [1] =&gt; Array ( [0] =&gt; celticnewcastle.png ) [2] =&gt; Array ( [0] =&gt; Darkwear.png ) [3] =&gt; Array ( [0] =&gt; InterUltrafox.png ) [4] =&gt; Array ( [0] =&gt; IrefulXI.png ) [5] =&gt; Array ( [0] =&gt; KensingtonWest.png ) [6] =&gt; Array ( [0] =&gt; Vandyke.png ) [7] =&gt; Array ( [0] =&gt; ZetaUnited.png ) [8] =&gt; Array ( [0] =&gt; ZigZag.png ) [9] =&gt; Array ( [0] =&gt; ZionPark.png ) [10] =&gt; Array ( [0] =&gt; Ignitabulum.png ) [11] =&gt; Array ( [0] =&gt; AgileVigne.png ) [12] =&gt; Array ( [0] =&gt; BravaZena.png ) [13] =&gt; Array ( [0] =&gt; ItalianWarriors.png ) [14] =&gt; Array ( [0] =&gt; MWM.png ) [15] =&gt; Array ( [0] =&gt; NavyBlu.png ) [16] =&gt; Array ( [0] =&gt; SCEsseErre.png ) [17] =&gt; Array ( [0] =&gt; VoxPopuli.png ) [18] =&gt; Array ( [0] =&gt; Zanzare.png ) [19] =&gt; Array ( [0] =&gt; ZebreRoma.png ) [20] =&gt; Array ( [0] =&gt; AmbrosianaFC.png ) [21] =&gt; Array ( [0] =&gt; ClubPhoenix.png ) [22] =&gt; Array ( [0] =&gt; DinamoKangaroo.png ) [23] =&gt; Array ( [0] =&gt; FioreFC.png ) [24] =&gt; Array ( [0] =&gt; Kogins.png ) [25] =&gt; Array ( [0] =&gt; LupoTosco.png ) [26] =&gt; Array ( [0] =&gt; Sporting.png ) [27] =&gt; Array ( [0] =&gt; Torino49.png ) [28] =&gt; Array ( [0] =&gt; Xugia2004.png ) [29] =&gt; Array ( [0] =&gt; Young00.png ) ) 
  </code></pre>
  
  <p>How could I obtain an array which directly give me: 
  <code>[0] =&gt; AldwychVertigos.png, [1] =&gt; celticnewcastle.png</code>, etc?</p>
  
  <p>Thank you</p>