title: Laravel: DB request saves false data
body: <p>First i do the DB request.</p>
  
  <pre><code>$user=DB::table('pupil')-&gt;select('accountName')-&gt;where('accountName', '6001')-&gt;get();
  </code></pre>
  
  <p>But it returns this data.</p>
  
  <pre><code>[{"accountName":"6001"}]
  </code></pre>
  
  <p>And i need this data.</p>
  
  <pre><code>6001
  </code></pre>
  
  <p>I want only to echo 6001 and not [{"accountName":"6001"}].</p>