How to Display Recent and popular data from Database using left join and OderBy

Fist Step In Welcome.blade.php file

for Table

Secound Step In Pages.blade.php

Third Step In Routing, Go To web.php

Forth Step In GestController.php

This is Return $gallery View

This is View page

Fifth Step in GestController in popular data

Popular data View

This is Welcome page view

Dharmendra K