title: How to delete data in laravel
body: <p>How to data delete in laravel</p>
  
  <p>MY link</p>
  
  <pre><code> &lt;a href="destroy/&lt;?php echo $values-&gt;sln; ?&gt;" &gt;Delete&lt;/a&gt;`
  </code></pre>
  
  <p>Route </p>
  
  <pre><code>Route::get('/destroy/{$id}','CrudCtl@destroy');
  </code></pre>
  
  <p>My Controller</p>
  
  <pre><code>public function destroy($id)
  {
         DB::table('info')-&gt;where('sln',$id)-&gt;delete();
  
         return redirect('/');
  }
  </code></pre>