title: Selecting unique values from more arrays
body: <p>I've got the following code:</p>
  
  <pre><code>$get_countries = "SELECT country FROM blahs WHERE country IS NOT NULL ORDER BY country";
  $data_get_countries = mysqli_query($dbc, $get_countries);
  
  while ($row_get_countries = mysqli_fetch_array($data_get_countries)) {
      $country_tabs = array_unique($row_get_countries);
      foreach ($country_tabs as $country_tab) {
          echo '&lt;div&gt;' . $country_tab . '&lt;/div&gt;';
          var_dump($country_tab);
          var_dump($country_tabs);
  
      }
  }
  </code></pre>
  
  <p>For now the var_dump($country_tab) outputs:</p>
  
  <pre><code>string 'DE' (length=2)
  string 'GB' (length=2)
  string 'SE' (length=2)
  string 'US' (length=2)
  string 'US' (length=2)
  string 'US' (length=2)
  string 'US' (length=2)
  </code></pre>
  
  <p>and the var_dump($country_tabs):</p>
  
  <pre><code>array
      0 =&gt; string 'DE' (length=2)
  array
      0 =&gt; string 'GB' (length=2)
  array
      0 =&gt; string 'SE' (length=2)
  array
      0 =&gt; string 'US' (length=2)
  array
      0 =&gt; string 'US' (length=2)
  array
      0 =&gt; string 'US' (length=2)
  array
      0 =&gt; string 'US' (length=2)
  </code></pre>
  
  <p>The thing that I want to achieve is to make my code to not show the same countries!
  array_unique($country_tabs) doesn't work because I have more arrays in the output.</p>