How to connect HTML form to MySQL Database with PHP.

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

КОМЕНТАРІ • 59

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

    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 8 місяців тому +4

    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 Рік тому +1

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

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

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

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

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

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

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

  • @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

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

    love this. Thank you so much!

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

    Wow, you saved my life❤

  • @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. :)

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

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

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

    Great video

  • @BadjaLiza-wh5xc
    @BadjaLiza-wh5xc 3 місяці тому +1

    Thanks dear ur the best ❤❤❤❤❤❤❤❤❤❤

  • @mohd4986
    @mohd4986 10 місяців тому +4

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

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

    Good explanation❣❣

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

    THANK YOU SO MUCH, YOU HELPED ME A LOT

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

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

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

    😜 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.

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

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

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

    Perfect madam

  • @ousamanote8165
    @ousamanote8165 3 роки тому +5

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

  • @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/

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

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

  • @jyrwa
    @jyrwa 6 місяців тому

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

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

    thank you very much

  • @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. 🙏

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

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

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

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

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

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

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

    Thank you

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

    Thank you!

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

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

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

    video sound is too low

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

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

  • @neerukatariacomputere-clas9097

    It is giving an error can anyone is here to help

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

    hey can you help me aanyone

  • @chandankhuntia7017
    @chandankhuntia7017 11 місяців тому +2

    In 19:42 I am getting error

    • @AB-qm2sp
      @AB-qm2sp Місяць тому

      Yaa same please someone help us

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

    ma'am may you share the 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!

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

    Good job but where is the source code

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

    24/08/2023 Love Cyprus house home economics 2003

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

    @

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

    Thank you so much

  • @061abdulqavi4
    @061abdulqavi4 Рік тому

    Thank you so much