lundi 3 décembre 2018

Laravel - Select data to Display in Table

I want to ask if ever I can limit my data in table. I want to remove one data out of my 6 data.

here is my table

Now I want to remove number 3 row which is SESSION_VALIDITY how can I remove that data and make it just 5 data in my table? I want to limit my data coz' I dont need to view SESSION_VALIDITY. help thanks

my Index

 @foreach ($settings as $setting)
                <tr>
                    <td></td>
                    <td></td>
                    <td></td>

                    <td><a href="/admin/settings//edit" class="fa fa-edit btn btn-info"></a></td>
                </tr>      
                @endforeach

my Controller

 public function index()
{
    $settings = Setting::all();
    return view('admin.settings.index', compact('settings'));
}



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2FXtGvR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire