Show in view only object with specified id <p>i am woking on a project about a restaurant and i need to show on my staff view only the Chef and Su-Chef which has id (Chef-2, Su-Chef 4). I need to show on my view all the Chefs and all the Su-Chefs. The view is organised at the form that is the number is odd (i have the image on left and text on right), if the number is even i have (i have the image on right and text on left) Here is my Controller </p> <pre><code>public function index() { $staff = Staff::where('visible','yes')-&gt;where('delete','no')-&gt;orderBy('name','DESC')-&gt;get(); return view('staff.staff', ['staff' =&gt; $staff]); } </code></pre> <p>And this is my View </p> <pre><code>&lt;section class="bg-deep-yellow"&gt; &lt;div class="container"&gt; &lt;div class="row"&gt; &lt;!-- section title --&gt; &lt;div class="col-md-12 text-center"&gt; &lt;span class="title-small black-text text-uppercase letter-spacing-3 font-weight-600"&gt;I NOSTRI CHEF&lt;/span&gt; &lt;div class="separator-line-thick bg-black no-margin-bottom margin-one xs-margin-top-five"&gt;&lt;/div&gt; &lt;/div&gt; &lt;!-- end section title --&gt; &lt;/div&gt; &lt;div class="row margin-ten no-margin-bottom"&gt; &lt;!-- chef --&gt; &lt;div class="col-md-12 sm-margin-bottom-ten"&gt; &lt;div class="col-md-5 chef-img cover-background" style="background-image:url({{URL::asset('external_assets/assets/images/images_downloaded/chef.jpg') }});"&gt; &lt;div class="img-border"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="col-md-7 chef-text bg-white text-center"&gt; &lt;img src="{{URL::asset('external_assets/assets/images/images_downloaded/kapele.png') }}" alt=""/&gt;&lt;br&gt; &lt;span class="text-large black-text text-uppercase letter-spacing-3 font-weight-600 margin-ten display-block no-margin-bottom"&gt;Patrick Smith&lt;/span&gt; &lt;span class="text-small text-uppercase letter-spacing-3"&gt;Chef, Co-Founder&lt;/span&gt; &lt;p class="text-med margin-ten width-90 center-col" style="text-align: justify"&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- end chef --&gt; &lt;!-- chef --&gt; &lt;div class="col-md-12"&gt; &lt;div class="col-md-7 chef-text bg-white text-center"&gt; &lt;img src="{{URL::asset('external_assets/assets/images/images_downloaded/bari.png') }}" alt=""/&gt;&lt;br&gt; &lt;span class="text-large black-text text-uppercase letter-spacing-3 font-weight-600 margin-ten display-block no-margin-bottom"&gt;Sancho Pansa&lt;/span&gt; &lt;span class="text-small text-uppercase letter-spacing-3"&gt;Bartender&lt;/span&gt; &lt;p class="text-med margin-ten width-90 center-col" style="text-align: justify" &gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry.&lt;/p&gt; &lt;/div&gt; &lt;div class="col-md-5 chef-img cover-background" style="background-image:url({{URL::asset('external_assets/assets/images/images_downloaded/chef2.jpg') }});"&gt; &lt;div class="img-border"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- end chef --&gt; &lt;/div&gt; &lt;/div&gt; &lt;/section&gt; </code></pre> <p><a href="http://i.stack.imgur.com/O6FEw.png" rel="nofollow">This is an image of my view</a></p>