How to Make Login Form in PHP and MySQL

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 483

  • @denizasar87
    @denizasar87 2 роки тому +34

    12:12 Creating DataBase (id , user_name, password, name)
    13:34 Creating db_conn.php
    19:42 Creating home.php → session_start();

  • @markdanielbriva6122
    @markdanielbriva6122 4 роки тому +32

    I wish you were verbally discussing parts for more understanding for newbies like me. But thank you for this tutorial anyway. It was a great Help. May God bless you 3000 brother

  • @CodingwithElias
    @CodingwithElias  5 років тому +13

    👨‍💻 The Source code is under the description
    Please 📝 comment on this video and ❤️ Subscribe

  • @GreenAndSuited
    @GreenAndSuited 3 роки тому +9

    Indian Guy youtube is very helpful and all, but I never realized just how immured I am to having to listen to them till I found your video. Excellent work of being able to show the process without needing narration - it was a pretty chill way to learn. Thank you very much!
    EDIT: Dude, send me your playlist - its so jammable that I'm just boppin my head while typing RN.

    • @CodingwithElias
      @CodingwithElias  3 роки тому +3

      thanks.

    • @Manga4th
      @Manga4th 3 роки тому

      Exactly bro, no need for narration. The video speaks for itself, excellent work

    • @Manga4th
      @Manga4th 3 роки тому

      Exactly bro, no need for narration. The video speaks for itself, excellent work

    • @Manga4th
      @Manga4th 3 роки тому +1

      Exactly bro, no need for narration. The video speaks for itself, excellent work

  • @羊祺-d7k
    @羊祺-d7k 4 роки тому +20

    This is really helpful for my assignment!

  • @boj822
    @boj822 2 роки тому +9

    This is tutorial is perfect for us beginners. Thank you very much! it really do helped me a lot! Thanks!

  • @mvrsunivers
    @mvrsunivers 5 місяців тому +1

    Thank you brother ❤
    I struggled to learn How to validate From Table 😢After These video I realised Today Thank you so much ❤

  • @marikitdulorzo5422
    @marikitdulorzo5422 Рік тому +1

    Wow good coder i learn alot i love you

  • @eng.mohamedhassan2496
    @eng.mohamedhassan2496 5 років тому +4

    great work keep it up bro you will reach one day 100K subscribers and i am one of your subscribers i am Eng.Mohamed Azhari from Somalia am Cisco Engineer, Cloud Engineer like AWS, Azure and OpenStack, also programmer.

  • @wasanthakarunathilake8821
    @wasanthakarunathilake8821 Рік тому +1

    you are the best for beginners really appreciate ❤️

  • @movielink4950
    @movielink4950 4 роки тому +1

    Wow I really proud of you.
    This video solve my problem.
    It is Best video.

  • @Manga4th
    @Manga4th 3 роки тому +12

    I’m saying this from the bottom of my heart: THANK YOU VERY MUCH!!!

  • @filsana.1560
    @filsana.1560 4 роки тому +4

    I was the thousandth sub, congrats.

  • @AvishkaIshan-kk1eh
    @AvishkaIshan-kk1eh Рік тому +1

    Thank you this video is very help for my project

  • @noelnyamunokora4676
    @noelnyamunokora4676 Рік тому +1

    this was an easy tutorial to understand, .. thank you

  • @owlyanin7333
    @owlyanin7333 2 роки тому +5

    I had so many errors because I used different variables and I am confused 🤯 hahaha, but still, in the end made it, thank you so much for this.I learned many things. This is very big help for our school proj.

    • @backofmyhouse
      @backofmyhouse Рік тому

      I feel that. Typically now, I use the same variables while following the tutorial and then changing them after while I customize the result.

  • @gerasmiodanica1033
    @gerasmiodanica1033 4 роки тому +3

    You’re a life saver. Thank you Elias.🙏

  • @christalyndianeramos9037
    @christalyndianeramos9037 2 роки тому +1

    Thank you elias! this video help me for my laboratory.

  • @shaikayesha7113
    @shaikayesha7113 2 роки тому +1

    Such a wonderful video.
    It helped me a lot in doing my project. Thank you sooooooooo much ☺️☺️☺️

  • @josephsmithbermas6589
    @josephsmithbermas6589 2 роки тому +5

    This tutorial is awesome its easy to understand and he also provide a source code. Thank you very much man!!

  • @wahyueko7534
    @wahyueko7534 4 роки тому +1

    thank you very much, now my daily task is complete

  • @muhammadsyukry6650
    @muhammadsyukry6650 2 роки тому +1

    Thank you it really help me, this tutorial perfect for us beginners on PHP and MySQL

  • @althearociobm
    @althearociobm 3 роки тому +1

    I can't stop crying, you helped me so much, thank you very very much. ♥ i love you

  • @EditedSong..
    @EditedSong.. Рік тому

    Thank you very much man. because of your tutorial i can make my first login web. :D

  • @Yuri-qr7ml
    @Yuri-qr7ml Рік тому

    Was able to get along well with this and I have very limited experience as I only started this year. All I know is some HTML and CSS
    For the button to logout I only had text as display even with text-decoration: none;
    text-decoration: none!important;
    This did fix it for me but I don't know why it was there anyway. Thanks for the guide!

    • @CodingwithElias
      @CodingwithElias  Рік тому

      Try by Hard refreshing, for Chrome hold down Ctrl and shift and then press R

  • @krenarshala5813
    @krenarshala5813 3 роки тому +3

    Very nice thank work Elias for learning me this simple . You just safe me from givin up on this .

  • @deetookfree
    @deetookfree Рік тому

    This is what I am looking for. It's perfect!
    Thks

  • @panmeijianthuingam7962
    @panmeijianthuingam7962 8 місяців тому +1

    It helps me a lot 👍👍👍

  • @tellydramapage477
    @tellydramapage477 2 роки тому

    Amazing...kab se dhoond rahi thi yaar aisa connectivity wala video..finally got this one...

  • @kai_gaming236
    @kai_gaming236 3 роки тому +1

    Wow i really learn a lot thank you bro i hope you continue this project.

  • @ankushbhagatofficial
    @ankushbhagatofficial Рік тому

    This tutorial helped me lot, thanks bro.

  • @deangelojohnson7722
    @deangelojohnson7722 3 місяці тому +1

    Thank you so much for this video!!

  • @PinoyDubbedMaster
    @PinoyDubbedMaster 3 роки тому +1

    Amazing. 100% working tutorial

  • @generationalfix
    @generationalfix Рік тому +1

    Thank you so much! Probably the best and most enjoyable tutorial for me. You earnt a sub.

  • @theNorixius
    @theNorixius 4 роки тому +22

    Absolutely perfect, every single step in this video worked flawlessly for me. Subbed and liked!! would you ever consider a playlist of tutorials on learning php or other coding languages? sorry if you have already done this.

  • @shahulhameedmohamedbatcha2804
    @shahulhameedmohamedbatcha2804 3 роки тому +1

    Thanks a lot for your wonderful video and resources.

  • @jakubdrazkowski5952
    @jakubdrazkowski5952 2 роки тому +1

    Love you man! I am amazed with your skills!

  • @richmondng3567
    @richmondng3567 4 роки тому +4

    This is the perfect login logout tutorial!

  • @OlivarezCollegeRegistrar
    @OlivarezCollegeRegistrar Рік тому

    Thank you... It is a BIG help...

  • @Not_Aran8276
    @Not_Aran8276 8 місяців тому +3

    Not sure if you'll read this, and it is unusual compared to other comments, but I actually like the song. What is it? 2005 Classic Hard Trance vibes to it.

  • @jiddujahd
    @jiddujahd 3 роки тому +1

    thanks...
    verry good bro

  •  3 роки тому +1

    nice jobs Elias

  • @alexmaina6853
    @alexmaina6853 2 роки тому +1

    Best video ever, no errors

  • @medjl6083
    @medjl6083 2 роки тому

    You are the best with extention mysql i

  • @madhumitharaveendran2947
    @madhumitharaveendran2947 Рік тому

    Thank you so much very helpful....

  • @gwapongpusa5682
    @gwapongpusa5682 4 роки тому

    Thankyou For this Video💓 like and downloaded 💓

  • @TheSathiskpv
    @TheSathiskpv 4 роки тому

    Amazing Video very clear steps Thanks lot...

  • @laovoyage
    @laovoyage Рік тому

    Very useful video and thanks for sharing

  • @jalilsumangan3322
    @jalilsumangan3322 4 роки тому +2

    16:32 isn't working on me its says mysqli_num_rows() expects parameter 1 to be mysqli_result how do I fix this?

    • @CodingwithElias
      @CodingwithElias  4 роки тому +1

      check your PHP version it should be php 7 or

    • @vatbros7162
      @vatbros7162 4 роки тому

      @@CodingwithElias my php version > 7

    • @vatbros7162
      @vatbros7162 4 роки тому

      @@CodingwithElias help please

    • @CodingwithElias
      @CodingwithElias  4 роки тому

      @@vatbros7162 check out the source code under the description

    • @shriharimokashi8274
      @shriharimokashi8274 4 роки тому +3

      Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in D:\xaamp\htdocs\phpproject\login.php:28 Stack trace: #0 D:\xaamp\htdocs\phpproject\login.php(28): mysqli_num_rows(false) #1 {main} thrown in D:\xaamp\htdocs\phpproject\login.php on line 28

  • @rwlia1975
    @rwlia1975 2 роки тому +1

    very helpful... thanks...

  • @ourmathiass
    @ourmathiass 3 роки тому +2

    Thankyou,, work 😭🤲

  • @m.ace.o
    @m.ace.o 2 роки тому +1

    great tutorial man keep it up

  • @juliannagaertner7051
    @juliannagaertner7051 4 роки тому +1

    Helpful tutorial! The music sounds like a cat purring aggressively

  • @michaelsunday6860
    @michaelsunday6860 2 місяці тому +1

    Good work!

  • @anusuyar8423
    @anusuyar8423 2 роки тому +1

    Too good explanation

  • @AvishkaIshan-kk1eh
    @AvishkaIshan-kk1eh Рік тому +1

    From sri lanka🇱🇰🇱🇰🇱🇰

  • @auliaausath7241
    @auliaausath7241 Рік тому

    Thank you, this tutorial is very helpful and can be used as a reference for my project

  • @tonmeelmans7307
    @tonmeelmans7307 2 роки тому

    Hi Elias good work thanks voor de video

  • @sathishkumar-uk7nn
    @sathishkumar-uk7nn 3 роки тому +1

    This is very useful bro

  • @trabrouss
    @trabrouss 3 роки тому

    It will be very interesting to speak in the video to be able to behave more well
    thank you for all his lesson

  • @SHAHSAMINYASAR
    @SHAHSAMINYASAR 2 роки тому

    THANKS A MILLION...LOTS OF LOVE AND RESPECT!!!!

  • @mr.george5370
    @mr.george5370 4 роки тому +1

    This is awesome!! Thank you!

  • @_etg
    @_etg 3 роки тому +1

    thanks now i can finally make login

  • @jensbruning8756
    @jensbruning8756 3 роки тому +1

    Thanks.. nice video...

  • @vbnshivani885
    @vbnshivani885 Рік тому

    At 10:40 in this video a code is enabled in the login form page while writing it i'm getting errors,
    how the issue can be resolved?

  • @ujjawalsingh3350
    @ujjawalsingh3350 4 роки тому +1

    Thanks a lot for making this video

  • @fwitz2017
    @fwitz2017 3 роки тому +1

    QUESTION @ 18:00 why do you validate the username and password again with the if statement? Doesn't the SELECT statement do that already?

    • @CodingwithElias
      @CodingwithElias  3 роки тому +1

      yeah. you're right but it's not going to be case sanative in the way. thanks I appreciate your comment

    • @fwitz2017
      @fwitz2017 3 роки тому +1

      @@CodingwithElias Ah, ok! Thanks Elias

  • @musubirebashir5276
    @musubirebashir5276 2 роки тому

    So perfect and amazing, thank very much

  • @davejackson88
    @davejackson88 Рік тому

    great work dude.. thank a lot for sharing

  • @budisantotso1958
    @budisantotso1958 3 роки тому +1

    hello elias thanks you are great

  • @alexiszapata9766
    @alexiszapata9766 3 роки тому +1

    thank you for your wonderful work

  • @notme-ts3gt
    @notme-ts3gt Рік тому

    What did you use to style your website?

  • @ekiyann
    @ekiyann 3 роки тому +1

    thanks teacher

  • @malekbellaaj4756
    @malekbellaaj4756 9 місяців тому

    thaaaaaaaaaaaank you for this and for the code source thank you it worked

  • @80_kmph
    @80_kmph 3 роки тому +1

    Thank You Very much 💖

  • @ivanmosquera273
    @ivanmosquera273 3 роки тому +1

    good job it really works

  • @sudoalex
    @sudoalex 5 років тому +16

    I love your job 3000

  • @masonyeoh3101
    @masonyeoh3101 2 роки тому

    how you able to do this 23:40, cannot change page by change the URL?? which part of code? Thanks

  • @MsBoolo
    @MsBoolo 4 роки тому +2

    Thank you very much for this tutorial and providing the source code. It helps me so much.

  • @baysuktvchannel7921
    @baysuktvchannel7921 3 роки тому +1

    i have done. thanks so much

  • @istvanmeszaros4370
    @istvanmeszaros4370 4 місяці тому +1

    Thank you! 🙂

  • @jackionendino4293
    @jackionendino4293 3 роки тому +1

    thankyou so much love, deserve a sub

  • @jeremiahmugerwa9669
    @jeremiahmugerwa9669 3 роки тому +1

    THANK YOU A LOOOT!!!! You helped to come further with my project. Thank you.

  • @irfanrafiq642
    @irfanrafiq642 3 роки тому

    i am stuck at 10:52 ..where you add an error msg in form .i have tried everything chekced all the code same as yours no error msg but my error box doesnt show up on the form .please help.thnanks

    • @CodingwithElias
      @CodingwithElias  3 роки тому

      if it's not crear check my new video called "Secure Login system using PHP with MYSQL database"

  • @agentgaming7388
    @agentgaming7388 3 роки тому +2

    this is amazing!

  • @snehakurri8227
    @snehakurri8227 3 роки тому +1

    Thanks Boss Thanks ❤️❤️❤️ Thanks

  • @ujjawalsingh3350
    @ujjawalsingh3350 4 роки тому +1

    It helped a lot

  • @Arya-hh6uc
    @Arya-hh6uc 3 роки тому

    Thank You So much Sir🙏❤️

  • @abdirizaknouh8653
    @abdirizaknouh8653 3 роки тому

    what is't cooled the application u use for the color?

  • @anusuyar8423
    @anusuyar8423 3 роки тому +1

    Super 👏

  • @userj-s2000
    @userj-s2000 Рік тому

    At 21:15 when you set the if statement to ===1 that means one user only right ? Or

    • @CodingwithElias
      @CodingwithElias  Рік тому

      that means the username is must be unique

    • @userj-s2000
      @userj-s2000 Рік тому

      @@CodingwithElias ah didnt see it that way, i was getting an error, but when debugging something wasnt right with the second $row in the sqldatabase, thanks for your fast reply, i finished it and applied some header and footer + session.php files

  • @thehouseofanimals2025
    @thehouseofanimals2025 2 роки тому +1

    Sir I have an wierd error, whenever I login email &password it's give me error "invalid email & password" any solution Sir I even copy from my Sql db still same error any solution I will be thankful to you

  • @treetext3182
    @treetext3182 4 роки тому +1

    God bless you Elias

  • @kamil3389
    @kamil3389 4 роки тому +1

    Great job!

  • @dineshkirad1736
    @dineshkirad1736 Рік тому

    Thanku so much sir

  • @surajkumar_009
    @surajkumar_009 3 роки тому

    Thanks you are awesome ☺️

  • @daniloignacio3410
    @daniloignacio3410 3 роки тому

    The Best really helps

  • @BoukharoubaKhaled
    @BoukharoubaKhaled 3 роки тому +1

    thank you so much Bro

  • @ToshanKanwar-d8e
    @ToshanKanwar-d8e Рік тому +1

    dil se dhanyawad

  • @atheist6430
    @atheist6430 Рік тому +1

    Thank you very much bro❤❤❤you saved my internal marks🥹🥹

    • @tkdyt0674
      @tkdyt0674 Рік тому

      are you from new zealand? I have internal assessments here