@php // An array of terms and conditions [1] and an index page [2] //to prevent the administrator from deleting either one $ids = [1,2,3,4]; @endphp @foreach($pages as $key=> $row)