How to connect HTML form to MySQL Database with PHP.

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • ❤️ Thanks for supporting KhanamCoding!
    🎉Enroll into Free Course: www.udemy.com/...
    ❤️Source Code:
    buymeacoffee.c...
    ❤️Udemy Premium Courses:
    🎓Enroll in courses with premium learning experience & support KhanamCoding!😃
    1️⃣PHP from Basics to Advanced with 8 Hands-on Projects- www.udemy.com/...
    2️⃣PHP CRUD Operation - www.udemy.com/...
    3️⃣Registration System using PHP - www.udemy.com/...
    4️⃣JavaScript Interview Practice: www.udemy.com/...
    ❤️UPI ID: khaiserz@ybl - Your contribution will fund the equipment, software, and other essentials needed to plan, shoot, and edit courses like this. Thank you sincerely!
    ❤️SOCIAL MEDIA
    ➡️Instagram: / khaiserkhanam
    ➡️LinkedIn: / khaiserkhanam

КОМЕНТАРІ • 58

  • @shannonstumpf1861
    @shannonstumpf1861 Рік тому +11

    this lady, my friends, is a genius! I tried a few other tutorials and they always failed. I felt a strange sense of confidence in this lady a few minutes in. She knows what she's doing!

  • @birukamanuel4639
    @birukamanuel4639 5 місяців тому +2

    I was just watching too many tutorials but literally didn't get anything cause the way other youtubers explain is just so tough to understand as bignner but when God blesses me he made me to come across this video 😊😊😊anyways thank you for good explanation God bless your day and life 😊😊😊

  • @DaveMazibuko
    @DaveMazibuko 9 місяців тому +1

    This is the best tutorial here on UA-cam period!

  • @majdalin1265
    @majdalin1265 Рік тому +2

    I love the way you teach concepts thank you so much god bless you .thanks to you i understood php.I recommend it to beginners

  • @opokalawrence1996
    @opokalawrence1996 4 місяці тому

    This the best video I think I will learn what have taken 2 years learning

  • @gattamaneniakilesh5256
    @gattamaneniakilesh5256 8 місяців тому

    I'm very thankful to you sister.....really it can working......

  • @Blue-kv8pj
    @Blue-kv8pj 6 місяців тому +1

    love this. Thank you so much!

  • @harrisonbenthiongo
    @harrisonbenthiongo 8 місяців тому

    waaaouh, brilliant is an understatement, you made this look interesting.well done.

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

    THANK YOU SO MUCH, YOU HELPED ME A LOT

  • @ifyouwannawatchCOMEHERE
    @ifyouwannawatchCOMEHERE 2 місяці тому

    best video

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

    The best one. It helps me alot.!!!!!!!!!!

  • @fillemonshindubu8239
    @fillemonshindubu8239 10 місяців тому

    Wow, you saved my life❤

  • @kchemtours6502
    @kchemtours6502 10 місяців тому

    😜 You are really amazing , you sure know what you are doing. you have a gift. thank you, thank you, thank you. you've helped me a lot.

  • @parkashmehta9317
    @parkashmehta9317 11 місяців тому

    Great video

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

    Nice explanation ma'am 👍👍👍

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

      😇thank you

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

      @@KhanamCoding can you just share source code

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

      @@vaibhavacharya7507 sure if u r comfortable sharing ur email,then pls send ur email ..i will mail source code of this. :)

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

    In connect file .. why did you use $_server ??
    Can we use ( issset($_post(btn)) or No ?

  • @aqibali-yn6xo
    @aqibali-yn6xo 7 місяців тому

    thanks api or kesi sa samaj nai aye ap sa a gaye❤❤

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

    Thank you very much......................💗💗💗💗

  • @mohd4986
    @mohd4986 7 місяців тому +3

    why am i getting plain white interface instead of data sucessfully inserted ?

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

    Thank you so much

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

    Good explanation❣❣

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

    Perfect madam

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

    Thank you

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

    Thank you!

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

    Excellent - but slow down, I wore my mouse button out :-)

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

    Mam edit enum/set value k upar click karne par kuchh v ni ho rha aisa kyo????

  • @jyrwa
    @jyrwa 2 місяці тому

    the values from the form in my case is not getting inserted. I don't know why?

  • @ifyouwannawatchCOMEHERE
    @ifyouwannawatchCOMEHERE 2 місяці тому

    siu

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

    mine runs successful but it does not show in the database, please help

  • @technical-pr7dqxi5g
    @technical-pr7dqxi5g Рік тому +1

    One error no show anything in my browser any one tell me how to resolve that 😮

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

    I have one such page live on github. I wanted to connect it with my php database. Any idea on how can i do that ?

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

      As far as my knowlegde i don't think github supports dynamic page content,as it supports only static pages to deploy,but if u want to embed it that code, install xampp and create ur own database and change their names accordingly and host it and embed using s in github.

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

      @@KhanamCoding I have created a local database using php. It works as it should. The form date is submitted and stored in database. But everytime i have to run the xampp. I have upload it on github, you can check. But from there, i do not get any submitted form data. btw it is my college project, so i won't mind if i dont get it working properly. Thank you for your help. Your videos are parallel to my curriculum. Big thanks ❤️. Here is my project : finsource.github.io/webapp

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

      @@keshav6480 you won't be getting databse info ,according to github guidelines it wont support dynamic sites,as you know PHP is dynamic programming language ,github will not allow u to deploy websites which are dynamic..Firstly what you can do is you can host your PHP in some other PHP hosting website along with ur database,there are plenty of options available for php hosting and later you can embed that website as your project...And yes Your project is very beautiful and Thank you soo much for your kind words :).. Hope this helps you

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

      @@keshav6480 and one more suggestion ,your projects is very good,but please try to make responsive beause in your professional carrier you always have to care your website looks perfect in all different screen devices...Just try to add media queries with necessary break points for mobile and tablets..

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

      @@KhanamCoding Thank you 🙏🙏. My doubts have been cleared. I'll do those steps. Pretty sure they'll work.
      And regarding the project, it's not done yet 😅. I'm working on it. I still got time. Many things to do. And for sure I'm making it responsive as soon as I finish for desktop. 🙏 You videos are really helping me. I'll start your SQL lectures soon. Thanks for the help. 🙏

  • @amimasudbd
    @amimasudbd 5 місяців тому

    video sound is too low

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

    What we give you server name, username, password in php?

  • @neerukatariacomputere-clas9097
    @neerukatariacomputere-clas9097 8 місяців тому

    It is giving an error can anyone is here to help

  • @user-zg5et6lk7l
    @user-zg5et6lk7l Рік тому

    24/08/2023 Love Cyprus house home economics 2003

  • @i_edit-h2p
    @i_edit-h2p 9 місяців тому

    Can i get the php code?

  • @CuongNguyenViet-ic9zx
    @CuongNguyenViet-ic9zx Рік тому

    $con = mysqli_connect($HOSTNAME, $USERNAME, $PASSWORD, $DATABASE);
    if ($con) {
    echo "Connect to dddde successfully!";
    $sql = "insert into `formdata`(name, email, password, phone, gender)
    values('$name', '$email', '$password', '$phone', '$gender')";
    $result = mysqli_query($con, $sql);
    if ($result) {
    echo "Data inserted successfully!";
    } else {
    die(mysqli_error($con));
    }
    } else {
    die(mysqli_error($con));
    }
    In this tutor. You create new connection. But I create new table "formdata". I can connect "signup" table ok. But cannot connect to second table "formdata". Can u explained to me? Tks so much!

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

    hey can you help me aanyone

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

    Good job but where is the source code

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

    ma'am may you share the code🙄🙄

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

    @

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

    🚀Registration system using PHP and MySQL
    www.udemy.com/course/registration-and-login-system-using-php-and-mysql/?referralCode=F96D572ED43994DAD56F
    🚀Get access to full PHP CRUD project.
    www.udemy.com/course/learn-php-crud-operation-create-read-update-and-delete/?referralCode=4C91E67AB34784662E54
    *******************************
    👉Instagram: @khaiserkhanam
    instagram.com/khaiserkhanam/

  • @chandankhuntia7017
    @chandankhuntia7017 7 місяців тому +1

    In 19:42 I am getting error

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

    nice tutorials, but how do you correct multiple lines at same time?

  • @061abdulqavi4
    @061abdulqavi4 10 місяців тому

    Thank you so much

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

    thank you very much