title: Laravel show All Users in Table list / Display Correct
body: <p>I want List all my Users in an Table, per line one Username.</p>
  
  <p>But i get only the first User in this Table , all other Users are side by side.</p>
  
  <p>My Blade:</p>
  
  <pre><code>&lt;table class="table table-hover"&gt;
  
      &lt;thead&gt;
  
        &lt;th&gt;Username&lt;/th&gt;
  
        &lt;th&gt;Orders&lt;/th&gt;
  
        &lt;th&gt;Balance&lt;/th&gt;
  
      &lt;/thead&gt;
  
      &lt;tbody&gt;
  @foreach($users as $user)
  
  
  
          &lt;tr&gt;
  
            &lt;td&gt;{{$user-&gt;username}} &lt;/td&gt;
  
            &lt;td&gt;{{$user-&gt;purchases}} &lt;/td&gt;
  
            &lt;td&gt;{{$user-&gt;balance}} &lt;/td&gt;
  
  
  
          &lt;/tr&gt;
  
      &lt;/tbody&gt;
  
  &lt;/table&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code> public function ShowUserlist(){
  
  
          $users = User::all();
  
          return view('profile.dashboard', compact('users'));
      }
  </code></pre>
  
  <p>The First User from my DB is in the <code>&lt;table class="table table-hover"&gt;</code></p>
  
  <p>the other ones looks like: <code>testtesttesttesttesttesttesttest</code> under the Table.</p>
  
  <p>How can i sort it per User one Line?</p>
  
  <p>Thanks</p>