how to get out of the database with circumcision on the characters, it is desirable not to cut off the words
<table class="table"> <tbody> @foreach ($post as $article) <tr> <th scope="row">{{$article->id}}</th> <td>{{$article->title}}</td> <td>{{$article->slug}}</td> <td>{{$article->content}}</td> <td>{{$article->created_at}}</td> </tr> @endforeach </tbody> </table>
Controller
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Posts; class Blog extends Controller { public function index() { $post = Posts::orderby('created_at','desc')->paginate(5); return view('admin.pages.index')->withPost($post); }