Laravel tutorial #17 Pagination with example

  Рет қаралды 19,950

Code Step By Step

Code Step By Step

4 жыл бұрын

In this laravel 6 tutorial we learn how to use Pagination with database through a simple example by anil sidhu
laravel tutorial
Below are the points that are we are cover in this video.
What is Pagination
Make Controller and Router
Pass data to view
Write code for Pagination
Add style
playlist link is here : • Laravel Tutorial
facebook page link is here
/ stepbysteplearn
Checkout and subscribe our new channel for technical news
/ @infotechtalk7676

Пікірлер: 18
@codestepbystep
@codestepbystep 4 жыл бұрын
Checkout and subscribe our new channel for technical news kzfaq.info/love/Uu2FA5OO9KpFXL2ZYR0aNg
@finnleymicah1040
@finnleymicah1040 2 жыл бұрын
You all prolly dont give a damn but does any of you know of a method to log back into an instagram account..? I stupidly forgot my password. I would love any tricks you can give me.
@williedonald7546
@williedonald7546 2 жыл бұрын
@Finnley Micah instablaster ;)
@finnleymicah1040
@finnleymicah1040 2 жыл бұрын
@Willie Donald i really appreciate your reply. I found the site on google and im trying it out now. Looks like it's gonna take a while so I will get back to you later with my results.
@finnleymicah1040
@finnleymicah1040 2 жыл бұрын
@Willie Donald It worked and I finally got access to my account again. I am so happy:D Thanks so much, you saved my ass!
@williedonald7546
@williedonald7546 2 жыл бұрын
@Finnley Micah happy to help xD
@fernandobaladi6636
@fernandobaladi6636 3 жыл бұрын
Muchas gracias, mi pana. Fuiste de mucha ayuda. Saludos desde Venezuela
@JoanApita
@JoanApita 4 жыл бұрын
thanks nice one creating pagination is freaking easy now in laravel.
@odzung5023
@odzung5023 4 жыл бұрын
Thanks a lot. Tips for useful
@ibrofro
@ibrofro 3 жыл бұрын
Thanks a lot.
@alcaravan555
@alcaravan555 3 жыл бұрын
Hi there, many thanks, quick question, if you have 1500 records, each page shows 15 records per page, it is going to display from 1 to 100, how can I make to display only 5 pages, for example if I am in page 22, I want to display at the bottom from page 20 to page 24. thanks again.
@edwinchp
@edwinchp 4 жыл бұрын
When I use: {{$data->links()}} I get this: Facade\Ignition\Exceptions\ViewException vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php throw new BadMethodCallException(sprintf( 'Method %s::%s does not exist.', static::class, $method )); Does anyone know why? :(
@edwinchp
@edwinchp 4 жыл бұрын
Nvm, I was using two different controllers for the same route ('\home'). Never do that.
@ibrofro
@ibrofro 3 жыл бұрын
@@edwinchp That's code we all mess around some time.
@shahidjutt5656
@shahidjutt5656 4 жыл бұрын
i not understand {{$items->name}}and {{$data->links}} what is the concept of $items and $data and name and links? plz help me to understand it
@SetyawanJoko
@SetyawanJoko 4 жыл бұрын
A simple way to understand, $data is a collection while $item is an individual record. For example : when you retrieve a table with a lot of record it return a collection (usually saved in $data variable) while when you use looping to get one by one data (foreach or maybe just for or while) that data is an individual record (usually named as $item). For more information search "foreach concept".
@shahidjutt5656
@shahidjutt5656 4 жыл бұрын
@@SetyawanJoko thank you so much for help.one more thing please confirm here is about {{$data=>links}} what is link here because it retrive ID actually?
@SetyawanJoko
@SetyawanJoko 4 жыл бұрын
@@shahidjutt5656 ->links is for pagination.
Laravel tutorial #18 Blade Template
12:49
Code Step By Step
Рет қаралды 3,3 М.
Laravel tutorial - Update database with Html Form | Eloquent
16:59
Code Step By Step
Рет қаралды 14 М.
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 28 МЛН
Laravel 10 Ajax Pagination
11:03
Cairocoders
Рет қаралды 1,9 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 555 М.
PHP doesn't suck (anymore)
10:48
Aaron Francis
Рет қаралды 200 М.
Laravel: Separate Admin/User Areas - Designs, Routes, Permissions
6:39
Stop Writing So Many Tests
10:02
Web Dev Simplified
Рет қаралды 84 М.
Laravel  tutorial - Insert data from Html Form | Eloquent
12:08
Code Step By Step
Рет қаралды 46 М.
The Tools I Use to Build Products in Laravel
19:00
Josh Cirre
Рет қаралды 18 М.