title: three different table in one views laravel 5.2
body: <p>Hi I would like to display three different table in one views using laravel 5.2. but it seems i am having problem on it. </p>
  
  <p>my HomeController.php
      
  
  <pre><code>namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use DB;
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  class HomeController extends Controller
  {
      public function index()
      {
          $about = DB::select('select * from about');
          $teams = DB::select('select * from teams');
          $services = DB::select('select * from services');
  
          return view('master', ['about' =&gt; $about], ['teams' =&gt; $teams], ['services' =&gt; $services]);
      }
  }
  </code></pre>
  
  <p>in my views:</p>
  
  <pre><code>@foreach ($about as $abt)
        &lt;h4&gt;{{$abt-&gt;title}}&lt;/h4&gt;
        &lt;span class="semi-separator center-block"&gt;&lt;/span&gt;
        &lt;p&gt;{{$abt-&gt;description}}&lt;/p&gt;
  @endforeach
  
  @foreach ($teams as $team)
       &lt;div class="creative-symbol cs-creative"&gt;
          &lt;img src="assets/images/new/{{$team-&gt;icon}}" alt=""&gt;
          &lt;span class="semi-separator center-block"&gt;&lt;/span&gt;
          &lt;h4&gt;&lt;b&gt;{{$team-&gt;title}}&lt;/b&gt;&lt;/h4&gt;
          &lt;p&gt;{{$team-&gt;description}}&lt;/p&gt;
       &lt;/div&gt;
  @endforeach
  </code></pre>
  
  <p>i cant display the third one which is the $services. pls help me.
  when i add the third one it will display an error</p>