Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function contactos()
- {
- $Contactos=Contactos::where('idContactos', '>', 5)->paginate(10);
- return view('contactos',compact('Contactos'));
- }
- {{ $Contactos1->onEachSide(5)->links() }}
- <div >
- <table class="table">
- <tbody>
- @if($Contactos->count())
- @foreach($Contactos as $Contactos1)
- <tr>
- <td>{{$Contactos1->idContactos}}</td>
- <td>{{$Contactos1->nombre}}</td>
- </tr>
- @endforeach
- @endif
- </tbody>
- </table>
- {{ $Contactos1->onEachSide(5)->links() }}
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement