title: PHP Implode Value
body: <p>How can I get a single value from the array below? The current result for the 19th row is like 19 repeated twice as;</p>
  
  <p>E:/database/users/<strong>1919</strong>/</p>
  
  <p>I just need the 19, so the URL will look like;</p>
  
  <p>E:/database/users/<strong>19</strong>/</p>
  
  <pre><code>&lt;?php
  $db = new SQLite3('C:/inetpub/wwwroot/database.db');
  $row = $db-&gt;query('select id from users');
  while ($lastrow = $row-&gt;fetchArray())
  {
  $id = implode($lastrow);
  }
  $database = 'E:/database/users/'.$id.'/';
  ?&gt;
  </code></pre>