Laravel 8 tutorial - Show List from Database Table

Поделиться
HTML-код
  • Опубликовано: 16 сен 2020
  • In this laravel 8 and Laravel 9 video tutorial, we learn how to fetch database table data and how on HTML page with mvc in a simple way. This video is made by anil Sidhu in the English language
    steps of video
    Make Model
    Make Controller and View
    Fetch Data from DB table
    Show Data on Html Page
    Interview Question over Model
    Laravel 9 tutorial
    Simple laravel tutorial
    Laravel 9 playlist • Laravel 9 tutorial

Комментарии • 80

  • @codestepbystep
    @codestepbystep  2 года назад +4

    Please support me by subscribe, like and comment :) thank you

    • @ashokbishwas
      @ashokbishwas Год назад

      you are great, plz make one detailed project based on laravel 10.

    • @navruz24
      @navruz24 Год назад

      Sure

  • @pangiras
    @pangiras 3 года назад +12

    Wow I am amazed by the quality of these video. Best tutorials for Laravel on RUclips, I came here after watching Net Ninja's(A great teacher) Laravel series here on RUclips, but the series left so many doubts. But the way you are describing all the concepts and features of Laravel is really wonderful. Keep up the good work. May god's love be with you, always.

  • @user-xc4lj2up5m
    @user-xc4lj2up5m 10 месяцев назад +1

    Very Clear and presize

  • @rubr0nyx
    @rubr0nyx Год назад +1

    Thanks buddy, you gave me a quick reminder of how this is implemented

  • @kadambarydiwan6667
    @kadambarydiwan6667 3 года назад +3

    you made it easy! really appreciating!!

  • @atefsoft
    @atefsoft 2 года назад

    you made it easy! really appreciating!! Thank you Thank you

  • @navruz24
    @navruz24 Год назад

    Thank you, man. Really this is step by step lesson and everything is clear. You save my time nervуs. Good luck to you!

  • @terence-aifx2043
    @terence-aifx2043 2 года назад +3

    Thank you -- I have tried using many website tutorials - you made this easy to understand and easy to apply. Thank you so much!

  • @bigmama668
    @bigmama668 3 года назад +1

    thank you, this what i was looking for

  • @christiancolewan
    @christiancolewan Год назад

    you got a new subscriber, helpful video. Thanks.

  • @user-yt4ru8oy4i
    @user-yt4ru8oy4i Год назад

    Thank you. Your the best :)

  • @manishmanandhar9860
    @manishmanandhar9860 Год назад +2

    interview question's answer: protected $table="table name"; use this line in models file

  • @Wittttte107
    @Wittttte107 3 года назад

    Really helpful, thanks!

  • @marysunitha620
    @marysunitha620 3 года назад

    very very helpful, thank you so much

  • @mohankumar-ts5xr
    @mohankumar-ts5xr 3 года назад

    thank u so much (code step by step) for making nice vedio::

  • @tekathegreat
    @tekathegreat 3 года назад +1

    you are the saver, thanks bro!!!!!!!!!!!!!!!!!!!!!!!

  • @kendinesponsor
    @kendinesponsor 3 года назад +3

    brother, you are best talk, thank you.. From Turkey say KEBABS..

  • @hermessantos181
    @hermessantos181 2 года назад

    it was really helpfull, thank you

  • @md.mainuddin5416
    @md.mainuddin5416 3 года назад

    well done. I am learnig from bangladesh

  • @Muhammadwaqas-jn2rr
    @Muhammadwaqas-jn2rr 2 года назад +5

    you can use different table in different models like
    protected $table="table name";

  • @manasehnjoroge3204
    @manasehnjoroge3204 Год назад

    this was awesome

  • @miltonciriacobrasileiro5470
    @miltonciriacobrasileiro5470 2 года назад

    Thankill!!! very good, realy

  • @dariusz8005
    @dariusz8005 2 года назад +1

    Perfect !!

  • @michelleclaudia8655
    @michelleclaudia8655 2 года назад +1

    thanks, u helped me

  • @laraneumaier2878
    @laraneumaier2878 3 года назад

    well done!

  • @thefreshweb
    @thefreshweb 3 года назад

    Thanks alote ♥️🖤

  • @athirasajeevan5577
    @athirasajeevan5577 3 года назад

    Thank you so much sir

  • @lekhnibhatnagar6738
    @lekhnibhatnagar6738 3 года назад

    oh you have made life so easy thanks and is there any way by which we can ask questions

  • @sidney-richards
    @sidney-richards 3 года назад

    Thank you man

  • @artate
    @artate 3 года назад

    You are a legend

  • @nooralalem6099
    @nooralalem6099 3 года назад

    Thank you sir

  • @moilepoints2952
    @moilepoints2952 2 года назад +1

    thanks

  • @vishalnarang5671
    @vishalnarang5671 Год назад

    thanks praa

  • @JaskaranSingh-eo2rz
    @JaskaranSingh-eo2rz 3 года назад +3

    Sir also make video on how write clean code and code refactoring

  • @sevdimbuoyunu
    @sevdimbuoyunu 3 года назад

    thank you

  • @AmirAli-bu3my
    @AmirAli-bu3my 3 года назад +4

    For different table name and Model name
    public $table= "table name" ;

  • @lazyant504
    @lazyant504 3 года назад +5

    For different table name and Model name
    public $variable_name = "Database table name" ;

    • @moustafaezz9158
      @moustafaezz9158 3 года назад +7

      I believe it was public $table = "Database table name"

  • @shakeelahmadofficial8505
    @shakeelahmadofficial8505 2 года назад

    Perfect

  • @user-bo8fj1ye8k
    @user-bo8fj1ye8k Год назад

    Thank you, for your helpful videos. Please let me ask you one question. Where we could show all data from the DB table to HTML.
    How could we show a specific data from that table. I am able to do the search by "id" and "string value".
    If we type the id or string value to the URL. I got the data, But don't understand to show it in a HTML list form.
    It would very helpful if you give me a advice to solve it.

  • @elinantahomvukye7097
    @elinantahomvukye7097 3 года назад

    Thank you...but can you help me how to show data uniquely by their ID

  • @Creativewebacademy
    @Creativewebacademy 2 года назад

    How do I pass data from controller into a form field in a drop-down format?

  • @meghanahiregoudar7830
    @meghanahiregoudar7830 3 года назад +4

    To use different table name in model
    protected $table = 'Table Name'; -> in model file

  • @abdifitahmashquul5735
    @abdifitahmashquul5735 2 года назад +1

    ANS
    just only inside model class write
    public $table ="tablename..";

  • @blessingayokunleakinbamiwa8645
    @blessingayokunleakinbamiwa8645 2 года назад

    I usually use protected $table = "Database_name";

  • @michaelnyahende8474
    @michaelnyahende8474 2 года назад

    How to display those data in descending order?

  • @MrVidhy
    @MrVidhy 3 года назад +1

    sir, i am follow your step but why "undefined variable" Smembers ? thanks

    • @nursyazwani_4108
      @nursyazwani_4108 2 года назад

      Did u get it ? I aldo have same error. Could u help me ?

  • @surajpaudel6215
    @surajpaudel6215 2 года назад

    how to link multiple table in single model?

  • @multidimensionalwork
    @multidimensionalwork 3 года назад

    Hi, any GitHub or code url to refer? Thanks

  • @sasitharuvishan6161
    @sasitharuvishan6161 2 года назад

    Plz help me to fix Undefined offset 1 error .There is no error in code.Plz help me

  • @bhupendrakairwal9792
    @bhupendrakairwal9792 3 года назад

    My database not showing I'd , it is Blank down to I'd column

  • @AbhishekKumar-bx8gp
    @AbhishekKumar-bx8gp 3 года назад

    sir, need help!
    if I want to print a recent query not all data of the table how it would be possible pls.. reply as soon

    • @md.ashraful3103
      @md.ashraful3103 3 года назад

      You can use the following code to get the last 5 items from the database.
      $latest_data = Member::orderBy('id', 'desc')->limit(5)->get();

    • @AbhishekKumar-bx8gp
      @AbhishekKumar-bx8gp 3 года назад

      @@md.ashraful3103 sir, its helpful but i want to show in realtime when I insert data into database not any previous data of table.

    • @elinantahomvukye7097
      @elinantahomvukye7097 3 года назад

      @@md.ashraful3103 I don't understand when I want to view post according to their id for example if I hover to post one then the post-id 1 should show only...and not all the posts in the table

    • @md.ashraful3103
      @md.ashraful3103 3 года назад

      @@elinantahomvukye7097 Member::find($id); this will fetch the data of specific id that you will pass in $id variable.

    • @md.ashraful3103
      @md.ashraful3103 3 года назад

      @@AbhishekKumar-bx8gp I didnt understand. Do you mean that you want to get the last record that you inserted? or you mean something else?

  • @subratajana1031
    @subratajana1031 2 года назад

    to connect with different table public $table = 'TABLE_NAME';

  • @SpacePotato3077
    @SpacePotato3077 2 года назад

    Undefined variable $members

  • @dhardevkrunal
    @dhardevkrunal 3 года назад +1

    protected $table = 'tablename';

  • @SpacePotato3077
    @SpacePotato3077 2 года назад +1

    Undefined variable $members
    Undefined variable $members

  • @nikitawadikar637
    @nikitawadikar637 2 года назад

    Hello sir

  • @Gyantech880
    @Gyantech880 3 года назад

    protected $table='posts';

  • @SpacePotato3077
    @SpacePotato3077 2 года назад

    Undefined variable $members

  • @SpacePotato3077
    @SpacePotato3077 2 года назад

    Undefined variable $members

  • @SpacePotato3077
    @SpacePotato3077 2 года назад

    Undefined variable $members