PHP & MySQL Tutorial: Displaying Database Data in HTML Tables

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

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

  • @CodeAndCourse
    @CodeAndCourse  4 года назад +7

    Ask your question in our new forum forum.codeandcourse.com/viewforum.php?f=4

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

      Great video!! Wish everyone's was as straight forward and concise as yours!

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

      thank u jazakallah

  • @MrBlade2021
    @MrBlade2021 5 лет назад +74

    That had to be the simplest most efficient video on PHP that i've EVER seen. Much appreciated!

  • @jamesbryanamolato6351
    @jamesbryanamolato6351 3 года назад +11

    Simple, direct, and no unnecessary stuffs. Thank you very much, mate!

  • @TheOshawott
    @TheOshawott Год назад +5

    Most of stackoverflow "solves" are stupid and very hard to understand. This video guide is the one which helped me A LOT! Thank you so much!

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

    Honestly I must confess, this is so so good. Like where has this channel been.
    So straight forward.
    Thanks sir 👍👍👍

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

    I never tried your tutorials but I will based on the comments that's why you got me, I already subscribe

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

    Thank you very much. I learned lots of things

  • @NoTimeWaste1
    @NoTimeWaste1 2 года назад +2

    Straight to the point, no bullshit. Thank you so much bro!!

  • @vaishnavibangar2561
    @vaishnavibangar2561 3 года назад +2

    I don't have words man !!!! You just saved me from my EXTRA STRICT professor 😭❤ thank you so much !!!!!!!!!!

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

    Thank you very much. I'm not going to lie, but I had a little trouble understanding your accent, but I still got the gist.
    Thank you for being efficient and to the point.

  • @jackiema8213
    @jackiema8213 5 лет назад +7

    it works perfectly, you sir are a scholar and a gentleman, a sub from me

  • @lathanelapati8582
    @lathanelapati8582 5 лет назад +3

    I am so thankful to you for giving the source code. Many people have uploaded the videos but there is no source code like this. I am a slow learner and I need this kind of source file so I can easily follow and do this by myself. Thank you sir. I am subscribing to your channel right now. Blessings.

    • @CodeAndCourse
      @CodeAndCourse  5 лет назад

      Thank you so much for this comment, your comment made by day

  • @sungatkaparov7657
    @sungatkaparov7657 6 лет назад +12

    OMG THANK YOU MAAAAAN, you helped me to write my project work with this tutorial!!!!!!!!!

    • @steliosm.1755
      @steliosm.1755 3 года назад +1

      I have a work project too. It's about a crud list of users (name, email, password, department, datetime) and departments (name, description, datetime). I'm so confused, please help, any good tutorial videos? (PHP and MySQL)

  • @maansibotke8256
    @maansibotke8256 6 лет назад +11

    U saved me!!🙂....keep uploading such videos

  • @rehannasir9547
    @rehannasir9547 4 года назад +1

    Software Engineering to its simplest form.... Excellent work and thanks for sharing.

  • @selmiravdic4798
    @selmiravdic4798 4 года назад

    I have been searching EVERYWHERE for a video like this, thank you so much!

  • @HarshChauhan-vw4un
    @HarshChauhan-vw4un 2 года назад +2

    Perfect For PHP Lovers !

  • @noyomi_hikari
    @noyomi_hikari 7 месяцев назад +1

    Thank you so much !! You're a life saver my guy 😭

  • @sushilovesfood
    @sushilovesfood 5 лет назад +5

    After two days I found this gem, thank you!

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

    2021 and still the best video!

  • @seeker4570
    @seeker4570 6 лет назад +2

    Good starting point for getting data using PHP. Thanks.

  • @Walterinho2000
    @Walterinho2000 5 лет назад +1

    This is the kind of videos everyone needs... Simple and direct... like and subscribe!!!...

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

    Thank YOU very much bro. You helped me to complete my First project.

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

    short and simple🙏thank you brother.

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

    Thank you so much for this video! It has helped me massively and I greatly appreciate how clear and easy to follow it was!

  • @karthikraj6347
    @karthikraj6347 4 года назад

    Thank you! After hours of searching, I found this amazing video!

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

    Simple codes 100% efficient working thank fella🤗
    👏
    🤝
    🤜🤛

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

    Thanks a lot.
    Superb Video 🌟

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

    You are THE MAN 💪🏋️‍♂️

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

    Thank you so much. It helped me much.

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

    new subscriber here! God bless bro! Thank youu!

  • @pacificnshimyumukiza3180
    @pacificnshimyumukiza3180 4 года назад

    This one works. even the query also works thank you buddy

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

    Thanks a lot... Got exactly what I wanted....

  • @YashPatel-be8cq
    @YashPatel-be8cq 4 года назад

    Thank you bhai!, Love from USA!

  • @jagadeeshgowd7903
    @jagadeeshgowd7903 4 года назад +1

    Thank you so much I used ur code....am a fresher..thanks dear

  • @shihoritsukiyomi
    @shihoritsukiyomi 6 лет назад +2

    Subscribed! Do make more videos :)
    More tutorial on web development or android would be nice.
    Also, thank you for providing the source code. You deserve more subscribers!

  • @morrismwinsa7186
    @morrismwinsa7186 4 года назад +1

    You guys are the best!!!!! Thank you

  • @amritbhujel5125
    @amritbhujel5125 4 года назад +1

    Thank you sir, it is very help full for me to complete the project n keep it up.

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

    Thanks a lot, It worked!

  • @DeshanUdupihilla
    @DeshanUdupihilla 4 года назад +1

    very well done bro!! ♥️ was very helpful!! keep doin what you're doing! you're doing great!!! 💯🔥

  • @Jaczer28
    @Jaczer28 4 года назад

    very useful, straight to the point! thanks man

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

    Absolutely brilliant and succinct! Thank you!!!

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

    Thank you so much. it is successful this work . 👍🏻

  • @rune4731
    @rune4731 5 месяцев назад

    saved my life hoenstly. thank you

  • @mIkeyGermita
    @mIkeyGermita 6 лет назад

    Thank goodness for the closed captions. Not a single comment on the unintelligibility of the accent?

  • @gururajesh397
    @gururajesh397 5 лет назад +3

    I have this type of error 👉Trying to get property 'num_rows' of non- object .
    Is there any solutions

  • @ajregenio7460
    @ajregenio7460 6 лет назад +11

    Notice: Trying to get property 'num_rows' of non-object Help please

    • @thog6007
      @thog6007 5 лет назад

      i believe it should be if(mysqli_num_rows($result) >0) { }

    • @baref0ot455
      @baref0ot455 5 лет назад

      @@thog6007 That doesn't seem to work.

    • @thog6007
      @thog6007 5 лет назад +1

      @@baref0ot455 it worked for my website 🤷‍♂️

    • @baref0ot455
      @baref0ot455 5 лет назад

      Thog I got it to work - I didn’t use that method. Of course I’m sure the context of our applications where slightly different (: something that worked for you in your context might not always work in the instance of my program, which is understandable. Much success to you

    • @arzfiring3331
      @arzfiring3331 5 лет назад

      @@thog6007 not working either , anyone got any other codes?? I'm a biginner pls help

  • @EshanAdithaya
    @EshanAdithaya 4 года назад +1

    It worked bro thanks🤟

  • @Kakisecek
    @Kakisecek 5 месяцев назад +1

    diky bro, bez ucit na nasi skolu

  • @XTRM365
    @XTRM365 4 года назад

    Thank you so much, its working.........God bless you !!!!!!!!!!!!!!!!!!!!!!!!

  • @sohailahmed410
    @sohailahmed410 6 лет назад +1

    Thank you so much sir! Your explanation solved my problem :) Hats off to you :)

  • @adaxtechnology
    @adaxtechnology 4 года назад

    Thank you bro it worked 2020👍👍❤❤❤

  • @MrVale996
    @MrVale996 6 лет назад +2

    Thank you! It works perfectly.

  • @gondusrinivasarao7381
    @gondusrinivasarao7381 21 день назад +1

    Excellent sir

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

    Hello i have a question, writing passwords on the html file couldn't be a security problem?

  • @peerappel2012
    @peerappel2012 4 года назад

    Do you realize how amazing you are? :-) Thanks very much!

  • @aasthasonicommerce8124
    @aasthasonicommerce8124 4 года назад +1

    Very helpful video🎥📹

  • @sanjeevrahul1176
    @sanjeevrahul1176 5 лет назад +1

    simple and clean easy to understand

  • @kornettgutten
    @kornettgutten 6 лет назад +5

    Thank you so much man. Was stuck on this part of a script im making

  • @happlyfly
    @happlyfly 4 года назад +1

    Much appreciated- thank you very much!

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

    God i do not know what I am doing.. copied this code but im unsure how to link it to my mysql database/ table that i am trying to import, have a university in deadline in the morning. Any help would be appreciated

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

    how can i do this without php and by using an html button? for example, click on a button and then the data from mysql corresponding to that button's id gets displayed on the web page. i'm unable to find the solution anywhere.

  • @clintclint9949
    @clintclint9949 4 года назад

    Thank You, It was Helpful

  • @CricketAlgorithm
    @CricketAlgorithm 4 года назад

    You are life saver thanks man :)

  • @GG-zj7oi
    @GG-zj7oi 3 года назад +1

    This was awesome but I get error at line 16, Can you please tell why?

  • @ffgaming-sp7mk
    @ffgaming-sp7mk 4 года назад

    It's very helpful for me

  • @tangducbao7309
    @tangducbao7309 5 лет назад +2

    Thank you. That's a usefull video.

  • @guilhermegoldgames
    @guilhermegoldgames 5 лет назад +1

    Thx man you have been a big help to me!

  • @atulnath1474
    @atulnath1474 4 года назад +1

    facing an array to string conversion error. I have an address column in my table

  • @DilshanSoftLab
    @DilshanSoftLab 6 лет назад +2

    Finally Got it. Thanks

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

    So helpful, ty^^

  • @webquicks102
    @webquicks102 5 лет назад

    thanx it displaying my whole table

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

    so good , thank you very much.

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 6 лет назад +1

    I managed to get it to work but with regard to doing a responsive table, I added overflow-x:auto; but this only works for some tables and not all. Should it work for all the tables?

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

    Im getting an error "Trying to get property 'num_rows' of non-object" how can i solve this?

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

    Mine is unable to connect with the database ...and it is giving a warning:
    Attempt to read property "num_row" on book in the file .☹️... what to do???

  • @polinstar4189
    @polinstar4189 5 лет назад +1

    Thankyouuu so much it's a big help to our project!! :))

  • @simonburyan1669
    @simonburyan1669 6 лет назад +3

    hey there! I had an error, php echoed "0 result". I managed to find that I called the table: table1-a.
    The troubl ewas, that I had there a "-" sign, and php could not read it. After changing the name to table1a, the error has gone. Thx for a great video ;-)

  • @sadiaafrin7143
    @sadiaafrin7143 5 лет назад +2

    God bless u man!thanks a lot

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

    how did u directly executed that php code in web browser instead of changing the path of php file to local host?

  • @v.aaminaakbar6000
    @v.aaminaakbar6000 4 года назад

    The first data entered in the table is not showing in the output page. Please help!!

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

    thank you it helped ! :)

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

    great!!! how to to that not just with table "login" ? maybe i have another table to show in html, just fill in next select-option?
    but really great video

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

    thank you so much

  • @dylangross2846
    @dylangross2846 5 лет назад

    hey great video for whatever reason the actual values from my table arent displaying. the html table headers show and ive tested my php installation and that is working too. im wondering if somehow mysql isn't connecting properly but its not displaying a connection error at all any ideas? thanks

  • @wissemansi
    @wissemansi 5 лет назад +1

    great work man

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

    hi, can i check whether if you have a guide for insert , delete update tutorial?

  • @dhakprasadupreti6249
    @dhakprasadupreti6249 4 года назад +1

    Thank you very much sir!!!!!!!!

  • @seugarnize649
    @seugarnize649 5 лет назад

    Hi, I need some help.
    Can I do this using a div structure?
    If the answer is yes, do you have any video in your channel about it or a link?
    Thanks

  • @sureshalemagar3203
    @sureshalemagar3203 5 лет назад +3

    Thanks. I really needed this part for my project. You sound like a Nepali from your accent. Are you a Nepali?

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

    Sir i am not getting result in proper way it showing data above and then my column name

  • @rajangm9072
    @rajangm9072 4 года назад +1

    Hi, I am a novice. I got created a database with four tables and a query in Phpmyadmin. I wish to display it in the browser. Your tutorial seems helpful to me. Please let me know how to get the black screen window to type the html code? I could not figure out in the PHPMyAdmin window. Thank you.

    • @CodeAndCourse
      @CodeAndCourse  4 года назад

      Do you mean by Sublime Text

    • @rajangm9072
      @rajangm9072 4 года назад

      @@CodeAndCourse Thank you , I downloaded.

  • @rajesh5496
    @rajesh5496 5 лет назад +2

    Thank You so much mate, hit the like button heartfully

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

    I have a question if i am required to use trigger in my sql is it allowed in this ??

  • @eldlarosa
    @eldlarosa 5 лет назад +1

    i have a row for messages, so, if i write a long message, it creates one long line, and i have to scroll to read it. how can i limit the words to break at some point? i tried "word-wrap:break-word;" and "table-layout: fixed;" and it works but it creates long white spaces in each row

    • @CodeAndCourse
      @CodeAndCourse  5 лет назад

      Can you send me a screenshot of
      what is your expected output?
      What problem you are facing?

    • @eldlarosa
      @eldlarosa 5 лет назад

      @@CodeAndCourse
      i.imgur.com/bsJmUKL.jpg
      Hi, as you can see, the message section is really long and i have to scroll horizontally to read the whole message, i want the text to break the line automatically

    • @CodeAndCourse
      @CodeAndCourse  5 лет назад

      Check this out www.w3schools.com/cssref/css3_pr_overflow-x.asp
      this may helpful for you.

  • @ramyadeepdas3777
    @ramyadeepdas3777 6 лет назад +1

    Your source code link does not work

  • @abhaysehgal245
    @abhaysehgal245 4 месяца назад

    My data is not coming in the table and it looks like a paragraph . give suggestions

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

    Where should I put the php file so it can be seen by my localhost? i dont know and understand

  • @sanjayeshwar6904
    @sanjayeshwar6904 4 года назад

    Will this code work for older version of xampp?? Because mine is 32 bit system!!

  • @ragulaust5439
    @ragulaust5439 5 лет назад

    hi, i need particular row to display like a form page ....please tell what are function are needed for that