Store HTML Form Data to MySQL Database

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

ความคิดเห็น • 1.5K

  • @bestfriendaarit4027
    @bestfriendaarit4027 ปีที่แล้ว +32

    Simple and short... just what I was searching for... if I had found this video before I could have saved hours 😭 but atleast I found a video like this and was successful on following it as well. Truly excellent

    • @CodeAndCourse
      @CodeAndCourse  ปีที่แล้ว +2

      You're welcome!

    • @sudeesh6112
      @sudeesh6112 ปีที่แล้ว

      @@mnbvcxx same problem for me also how can I overcome this problem bro

  • @ishitakumari3766
    @ishitakumari3766 2 ปีที่แล้ว +1

    Thanks a lot, i was seraching for the same for very long time, to clarify my doubts. .

  • @dr.sumankumarroy4344
    @dr.sumankumarroy4344 3 ปีที่แล้ว +5

    This guy gave me all I needed!!

  • @shubhamkaudewar7297
    @shubhamkaudewar7297 5 ปีที่แล้ว +2

    Thanks man I understood now how php and sql works linked with html form.

  • @bahmad6564
    @bahmad6564 5 ปีที่แล้ว +12

    thanks a lot. your video helped me a lot and finally i understood it after months of hardwork

  • @vidhvansak6944
    @vidhvansak6944 6 ปีที่แล้ว +2

    kya baat hai aapne ek hi bar me btadiya thx brother

  • @khalidabdi9537
    @khalidabdi9537 5 ปีที่แล้ว

    OMG i cant express my feelings in words thankyou very much boss u just saved my project after one month of trying to connect to my DB and watching morethan a fucking 50 youtube videos finally i can see the registered user in my Dabatase i swear to God am in tears right now u know the struggle of coding when u on like 18 fucking hours eachday and a same problem "FatalError about Connection" thank you again and again and million times Sir all my prayers and love towards you

  • @muralireddy9787
    @muralireddy9787 6 ปีที่แล้ว +10

    thank you, wonderful tutorial.

  • @TLBGaming10
    @TLBGaming10 2 ปีที่แล้ว +1

    Thank you very much, you are the best.😍😍😍

  • @doctorbrad
    @doctorbrad 5 ปีที่แล้ว +16

    Thanks for the tutorial but when I click Submit it shows all of my PHP code in a page and nothing happens... HELP, please!

    • @luckyygaba
      @luckyygaba 4 ปีที่แล้ว +3

      Damn. Same :(

    • @benjamincook-pirro938
      @benjamincook-pirro938 4 ปีที่แล้ว +4

      @@luckyygaba it means that your website hasn't been accessed via the link, its being access through your computer. make sure you're using WAMP to broadcast your website so you can access it from localhost instead of opening the html file.

    • @anmolmittal4763
      @anmolmittal4763 4 ปีที่แล้ว +3

      it means you are not using any server for running your code, you can use xampp for the same.

    • @murniyatiho6320
      @murniyatiho6320 4 ปีที่แล้ว

      @@anmolmittal4763 hi.. i already run xampp and connected to localhost, but still not worked after i click the submit button.. please advice... thank you

    • @anmolmittal4763
      @anmolmittal4763 4 ปีที่แล้ว +3

      @@murniyatiho6320 you have to put your file in xampp folder in order to run the code on the local server.

  • @trgiahuy1874
    @trgiahuy1874 ปีที่แล้ว +1

    it has worked man. Thanks a ton !

  • @zeinplayy
    @zeinplayy 3 ปีที่แล้ว +3

    You made a very good, simple and easy to understand video. Thank you

  • @tanish4593
    @tanish4593 3 ปีที่แล้ว +3

    The video was informative, I am making a html js quiz in which you can score points and you can keep your personal best in a high score tab. I want to show the scores of each and every people who took my quiz in that tab. Pls help if possible.

  • @MohsenAYN
    @MohsenAYN 4 ปีที่แล้ว +1

    you're the coolest!
    you make programming look like a walk in the park brother.

  • @rahuljha1361
    @rahuljha1361 4 ปีที่แล้ว +7

    Thanks a lot for sharing this knowledge and source code.😊😊 I will definitely donate when I completely learn this course..
    Thanks once again..😊😊

  • @basantkumarmandal3610
    @basantkumarmandal3610 3 ปีที่แล้ว +1

    thank you sir ,it is really helpful❤❤❤❤❤❤❤❤

  • @jenniferward6821
    @jenniferward6821 3 ปีที่แล้ว +1

    Thanks for this - going to look at your vids now!

  • @valentincvc
    @valentincvc 3 ปีที่แล้ว +1

    It worked for me, thank you a lot!

  • @ime2093
    @ime2093 5 ปีที่แล้ว

    sorry you have added your database it was iterrupting me thanks. it works

  • @abhisheknandy6446
    @abhisheknandy6446 3 ปีที่แล้ว +2

    Thanks pls continue....

  • @kaixinyap8407
    @kaixinyap8407 ปีที่แล้ว

    thank you very much, this really helpful to me. but if you can show your File Explorer that is better, because it take me some time to set my file

  • @dr.zalchicha774
    @dr.zalchicha774 5 ปีที่แล้ว +2

    Best video ever. Straight to the point! Thanks!

    • @donkanji6785
      @donkanji6785 2 ปีที่แล้ว

      Very accurate source code

  • @vivekviradia2581
    @vivekviradia2581 3 ปีที่แล้ว +1

    It helped me to understand

  • @santoshmahto3255
    @santoshmahto3255 6 ปีที่แล้ว +1

    Really Very Helpful Tutorial

  • @harshgumber8056
    @harshgumber8056 3 ปีที่แล้ว +1

    Keep it up bro 👍👍

  • @vikrantsingh4257
    @vikrantsingh4257 3 ปีที่แล้ว +1

    Thanks very much

  • @privateclass8105
    @privateclass8105 2 ปีที่แล้ว +1

    Oh its very helpful video

  • @nuradibahzolkepli5223
    @nuradibahzolkepli5223 5 ปีที่แล้ว +3

    why it didnt work for me?
    when i click submit button, insert.php source code appear.
    btw im using wamp server.

  • @ThePatriotsOfPakistan
    @ThePatriotsOfPakistan 3 ปีที่แล้ว

    Wow wow wow. Thanks man
    Question: what if we want to show the user the data saved

  • @anuragchaubey7764
    @anuragchaubey7764 6 ปีที่แล้ว +2

    Excellent video

  • @sethumadhavdoredla3823
    @sethumadhavdoredla3823 ปีที่แล้ว

    thanks very much bro and can you please show how to connect or perform login operations for website

  • @kavithasivakumar3711
    @kavithasivakumar3711 4 ปีที่แล้ว +1

    Thank You Code and Coins

  • @vickyk2447
    @vickyk2447 4 ปีที่แล้ว +1

    OMG it actually worked!!! THANK YOU!

  • @alhamdulillah5763
    @alhamdulillah5763 5 ปีที่แล้ว +1

    how many software needed to connect html form to mysql database with php?

  • @s-techfeaturingsystem
    @s-techfeaturingsystem 2 ปีที่แล้ว +1

    Hello sir I have some problems when I submitted my browser write me.
    Parse error: syntax error, unexpected '$conn' (T_VARIABLE) in insert.php on line 16.

  • @vipuldev2257
    @vipuldev2257 2 ปีที่แล้ว

    Sir my data is not getting in the SQL table and after executing your pho code it's showing "all fields required"

  • @harshikavlog235
    @harshikavlog235 2 ปีที่แล้ว +1

    Nice 👍🏻

  • @glorix21h84
    @glorix21h84 5 ปีที่แล้ว +17

    Hey bro im finished and put all script on site and im register on site and get error -> Connect Error(1045)Access denied for user 'root'@'localhost' (using password: NO) Please bro Help me :)

  • @jaydonekal4171
    @jaydonekal4171 3 ปีที่แล้ว +87

    OMG! Honestly, there are a bunch of videos out there that teach the same. The major advantage you have is that your video is perfectly short! Just above 6 mins and forwarding most of it I watched it in just 2. Love the that you have given the source code as well. Check I'll definitely like, share and subscribe!

    • @mohammeddhinojwalal8579
      @mohammeddhinojwalal8579 2 ปีที่แล้ว

      Doesnt your program takes to u to php code and if your this code work help me

  • @cgme7076
    @cgme7076 3 ปีที่แล้ว +19

    I needed a review of PHP's syntax. Thank you.
    The only thing I'd mention is around 4:03.
    Your verification logic isn't quite right.
    You'd want to make sure that "username" AND "password" AND gender, etc... are all entered. Your logic allows for only one of those things to be entered; you have a bunch of OR checks.
    Like "their username OR their password should be entered". Basically, in logical terms, you have a bunch of disjunction checks where there should be conjunction checks.

    • @CodeAndCourse
      @CodeAndCourse  3 ปีที่แล้ว +8

      Very good observation 🙂

    • @hershey6171
      @hershey6171 2 ปีที่แล้ว

      didn't even know pipeline can be used as OR thanks for pointing out

    • @youaremad1736
      @youaremad1736 2 ปีที่แล้ว

      @@hershey6171 pipelines as or is actually a common in languages like cpp js etc… mist of those languages that uses curly bracets and semicolon

  • @malayanurvithahavya128
    @malayanurvithahavya128 3 ปีที่แล้ว +16

    I don't know how to thank you 💓. I was struggling for this for 3 weeks and by god's grace, I found this wonderful video tutorial. Thank you so much, bro.

    • @CodeAndCourse
      @CodeAndCourse  3 ปีที่แล้ว +2

      You are Welcome

    • @worldofcarsCA
      @worldofcarsCA 3 ปีที่แล้ว

      th-cam.com/video/9DnCCkosNcc/w-d-xo.html

  • @nnamdichristian798
    @nnamdichristian798 9 หลายเดือนก่อน +1

    Greetings! I have done all the required thing, when i enter information on my localhost page and click submit, i don't see the successful or error information, the information just disappear and when i checked it on mysql in xampp, I don't see the information I entered, please, what might have been the issue

  • @rhitvi6002
    @rhitvi6002 2 ปีที่แล้ว +14

    The only tutorial that actually worked for me after spending hours on TH-cam. Excellent explanation and very useful video, thank you!

    • @CodeAndCourse
      @CodeAndCourse  2 ปีที่แล้ว +2

      Great to hear!

    • @donkanji6785
      @donkanji6785 2 ปีที่แล้ว +1

      Same here after long suffering googlering everythi watch many video now i can go to sleep

    • @mujeeburrahman7352
      @mujeeburrahman7352 ปีที่แล้ว

      😅

  • @mohammedindorewala3903
    @mohammedindorewala3903 4 ปีที่แล้ว +25

    String ="s"
    Int="i"
    Date=? Please guide

  • @rengokuhasira6069
    @rengokuhasira6069 2 ปีที่แล้ว +2

    euta Nepali le arko Nepali lai voice le chinxa haha!
    keep up the hard work dai

  • @enancovers
    @enancovers 4 ปีที่แล้ว +4

    I need help.
    Fatal error: Uncaught Error: Call to a member function bind_param() on bool
    I checked multiple times but nothing worked.

  • @bereketbeleteasres9313
    @bereketbeleteasres9313 3 ปีที่แล้ว +2

    Fatal error: Uncaught Error: Call to a member function bind_param() on bool in
    i cant get rid of this error
    please help
    please help
    please help
    please help

    • @nallapanenisaisuprabhanu7530
      @nallapanenisaisuprabhanu7530 3 ปีที่แล้ว

      I too got the same error bro.
      I tried some solutions available on Stack Overflow and TH-cam, still can't get rid of it.

    • @chetanjangid3050
      @chetanjangid3050 3 ปีที่แล้ว +1

      Same

    • @chetanjangid3050
      @chetanjangid3050 3 ปีที่แล้ว

      th-cam.com/video/2HVKizgcfjo/w-d-xo.html

  • @rehabramzan515
    @rehabramzan515 5 ปีที่แล้ว +4

    sir i am have this error
    Fatal error: Uncaught Error: Call to a member function bind_param() on bool in E:\xampp\htdocs\test\insert.php:22 Stack trace: #0 {main} thrown in E:\xampp\htdocs\test\insert.php on line 22
    plz help me

  • @gauravbatule
    @gauravbatule 3 ปีที่แล้ว +1

    Showing this error👇
    Fatal error: Uncaught Error: Call to a member function bind_param() on bool in /storage/emulated/0/htdocs/register/insert.php:29 Stack trace: #0 {main} thrown in /storage/emulated/0/htdocs/register/insert.php on line 29

  • @jacksonbodra6450
    @jacksonbodra6450 5 ปีที่แล้ว +26

    thank you very much ...... with the help of videos like this .....i am much more confident to face my teacher now who always think students are wrong and dont know shit.

  • @jerzalroannecanoy2455
    @jerzalroannecanoy2455 3 ปีที่แล้ว +2

    I followed it correctly, but it shows HTTP error 405, why?

  • @revathis1552
    @revathis1552 5 ปีที่แล้ว +8

    After getting "new record successfully” how can we direct to next page or next slide

    • @cedricjoel1042
      @cedricjoel1042 4 ปีที่แล้ว +4

      header('location: index.html');

    • @nidhipriya7346
      @nidhipriya7346 4 ปีที่แล้ว

      can u please tell ,me why i m getting php code after pressing submit button

    • @slweb621
      @slweb621 3 ปีที่แล้ว

      th-cam.com/video/xHRlr8XccUc/w-d-xo.html

  • @Orincaby
    @Orincaby 5 ปีที่แล้ว +14

    This guy has better english than half the comment section.

  • @allinoneunofficial2079
    @allinoneunofficial2079 4 ปีที่แล้ว +2

    ​ @Code And Coins THANKS............ AND HAVE YOU MADE A VIDEO TO HOW TO PUBLISH A WEBSITE ON GOOGLE IN WHICH ANYONE CAN WATCH OUR WEBSITE? ACTUALLY I AM IN CLASS 8....AND ARE YOU INDIAN?

    • @CodeAndCourse
      @CodeAndCourse  4 ปีที่แล้ว +1

      I am from Nepal, to publish your website on the internet you need domain name and hosting. Here is my video th-cam.com/video/5a0Aa6BCc_E/w-d-xo.html. You can also create your first website using Blogger for free.

    • @allinoneunofficial2079
      @allinoneunofficial2079 4 ปีที่แล้ว

      @@CodeAndCourse thanks

  • @HalloGaming
    @HalloGaming 2 ปีที่แล้ว +3

    Damn you can make a great tutorial you should really be bigger

  • @kunalyadav5684
    @kunalyadav5684 3 ปีที่แล้ว +1

    I m getting the whole php code on submitting the form
    Please help...

  • @tetafogmovies
    @tetafogmovies 4 ปีที่แล้ว +13

    Thanks for your teachings, below is the error i keep getting after i used your codes, i even copied the source codes but when i feel the form, this is error keeps coming...please help
    Fatal error: Uncaught Error: Call to a member function bind_param() on bool in C:\xampp\htdocs\test\test.php:22 Stack trace: #0 {main} thrown in C:\xampp\htdocs\test\test.php on line 22

    • @onkarbajwa8946
      @onkarbajwa8946 4 ปีที่แล้ว +2

      i am getting the same error

    • @fernandodharmaraja6465
      @fernandodharmaraja6465 4 ปีที่แล้ว +1

      i got the same problem, i fixed it by changing the name of the table of the data base, in the video he used "register" you should change it to the name of the table in your database, change "register" in these commands :
      $SELECT = "SELECT email From register Where email = ? Limit 1";
      $INSERT = "INSERT Into register (username, password, gender, email, phoneCode, phone) values(?, ?, ?, ?, ?, ?)";

    • @sravanimudda516
      @sravanimudda516 3 ปีที่แล้ว

      @@fernandodharmaraja6465 even if i change the table name it's showing the same error.🤷

  • @Sunil_KumarDas
    @Sunil_KumarDas 6 ปีที่แล้ว +9

    Tutorial is gud but please use better mic and don't hurry tutorial.Tq

    • @CodeAndCourse
      @CodeAndCourse  6 ปีที่แล้ว +2

      thank you for your suggestion

  • @loganadanr4137
    @loganadanr4137 3 ปีที่แล้ว +3

    I'm really thankful to u I'm been search for so long

  • @mohammadusman3930
    @mohammadusman3930 5 ปีที่แล้ว +6

    what to do if there is a problem when I click submit form it asks me to open php file why??
    and there is no record saved on database...……….
    how can I correct my mistakes......

    • @CodeAndCourse
      @CodeAndCourse  5 ปีที่แล้ว +1

      Can you show me your code.
      And here I make another video, which may be helpfull for you. th-cam.com/video/we5IDfvjtVs/w-d-xo.html

    • @noctiscaelum6523
      @noctiscaelum6523 5 ปีที่แล้ว

      @@CodeAndCourse help! mine also does the same thing

    • @matthewtang5638
      @matthewtang5638 4 ปีที่แล้ว

      did you turn on the xampp apache & mysql ?

    • @ganeshpalve6187
      @ganeshpalve6187 4 ปีที่แล้ว

      same problem
      plz reply

    • @leonromo523
      @leonromo523 3 ปีที่แล้ว +1

      @@matthewtang5638 yes i have, but it not reflecting on my db

  • @likhithramesh9065
    @likhithramesh9065 5 ปีที่แล้ว +23

    Thanks a lot...will be implementing it in the project tomorrow.

    • @matthewtang5638
      @matthewtang5638 4 ปีที่แล้ว

      succeed!

    • @virenderkumar9002
      @virenderkumar9002 3 ปีที่แล้ว +1

      Please help me I have to submit my project on time please help🙏 .
      I am getting php code after clicking on submit button instead of echo 🤯🥴

    • @rajivIX2001
      @rajivIX2001 3 ปีที่แล้ว +1

      @@virenderkumar9002 yup me too need help

    • @harshithrevuri581
      @harshithrevuri581 ปีที่แล้ว

      ​@@virenderkumar9002bro I am also getting like that. What you done after that

  • @christianreibino901
    @christianreibino901 3 ปีที่แล้ว +4

    Thank you for this wonderful content! We can pass the defense because of this!

  • @everydaycode1535
    @everydaycode1535 5 ปีที่แล้ว +1

    I only have $fullName and $email: ---> $stmt->bind_param("s,i", $fullName, $email);
    Fatal error: Uncaught Error: Call to a member function bind_param() on boolean in /Applications/XAMPP/xamppfiles/htdocs/Freelance-landingPage/forms.php:12 Stack trace: #0 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/Freelance-landingPage/forms.php on line 12.
    what shall I do?

    • @Toxicblackmambahs
      @Toxicblackmambahs 5 ปีที่แล้ว

      its been a month and you probably got through with this.. But if not and for anyone else who has that problem the solution is:
      $stmt->bind_param("ss", $fullName, $email);
      There are no commas between the "ss".. also i assume your $fullName and $email are both strings.

  • @30joybhardwaj55
    @30joybhardwaj55 3 ปีที่แล้ว +9

    It says New records entered successfully every time I do it no matter what, I've tried solving it for hours but I don't know where it's going wrong. Please help

  • @amandeepsinghbisht2345
    @amandeepsinghbisht2345 4 ปีที่แล้ว +5

    Fatal. Errors: call to a member function bind_param() on bool please help me to solve this problem??

    • @CodeAndCourse
      @CodeAndCourse  4 ปีที่แล้ว

      Here is a solution forum.codeandcourse.com/viewtopic.php?f=4&t=4

    • @calvinrodrigues10
      @calvinrodrigues10 4 ปีที่แล้ว +1

      you can try this if it works
      $stmt->bind_param("s", $email);

    • @applezhe19
      @applezhe19 4 ปีที่แล้ว +1

      You get this error is due to your table in phpMyAdmin doesn't connect to your coding.
      Here is my solution:
      I) Change your web server.
      ii) Try this →line 17: $conn = new MySQLI($host,$dbUsername,$dbPassword,$dbname);

    • @anandpaul8196
      @anandpaul8196 3 ปีที่แล้ว

      @@CodeAndCourse where we have to save these files pls help me in xampp or wamp and how to execute

    • @applezhe19
      @applezhe19 3 ปีที่แล้ว +1

      @@acltearjerker you use which web server?? For mine is Xampp (recommended)

  • @DuduGAmingofficial
    @DuduGAmingofficial 4 ปีที่แล้ว +2

    I have error that when I click submit (showing the code in insert.php file 😔)
    Please help reply me please ....

    • @ConsulthinkProgrammer
      @ConsulthinkProgrammer 4 ปีที่แล้ว

      If you've solved that step, see this for an example custom form development:
      th-cam.com/video/bNvAO2-_hi8/w-d-xo.html

  • @HIGHvoltage624
    @HIGHvoltage624 4 ปีที่แล้ว +21

    Been looking for a tutorial on this all over TH-cam and yours was the only one that answered my question directly. You did a very thorough job good work!

    • @CodeAndCourse
      @CodeAndCourse  4 ปีที่แล้ว

      Glad I could help!

    • @usamanadeem2258
      @usamanadeem2258 3 ปีที่แล้ว

      @@CodeAndCourse i click on insert button then show php file file why????

    • @virenderkumar9002
      @virenderkumar9002 3 ปีที่แล้ว

      @@usamanadeem2258 Please help me I have to submit my project on time please help🙏 .
      I am getting php code after clicking on submit button instead of echo 🤯🥴

    • @virenderkumar9002
      @virenderkumar9002 3 ปีที่แล้ว

      Please help me I have to submit my project on time please help🙏 .
      I am getting php code after clicking on submit button instead of echo 🤯🥴

  • @hivan04
    @hivan04 4 หลายเดือนก่อน +1

    could you give us another link for the source code please, it doesn't seem to be working for me

  • @Amal-jp9lf
    @Amal-jp9lf 4 ปีที่แล้ว +3

    This tutorial waste my time after an hour of typing it shows error at least share all the code

    • @Amal-jp9lf
      @Amal-jp9lf 4 ปีที่แล้ว

      Yasemin Yıldız thanks I submitted my project before a week but thanks for sharing it will help someone else :)

    • @bomboshesap1587
      @bomboshesap1587 4 ปีที่แล้ว

      You're welcome. mine also did not work. I click submit button, it shows the .php file codes. Any idea why?

    • @Amal-jp9lf
      @Amal-jp9lf 4 ปีที่แล้ว

      Yasemin Yıldız our Dr first time teach us this course I don’t have idea. I used this one it worked for me codewithawa.com/posts/complete-user-registration-system-using-php-and-mysql-database
      But u need to create database in php my admin to work. there was a problem with these code it didn’t submit so the instructor fix it and it work to me

    • @Amal-jp9lf
      @Amal-jp9lf 4 ปีที่แล้ว

      Yasemin Yıldız my project: drive.google.com/file/d/1rC1BkY42wzmm1HHnlOTCvcdraJ3WZMJp/view?usp=drivesdk

  • @jahnavirainlover
    @jahnavirainlover 3 ปีที่แล้ว +4

    Thank you so much! This helped me give a good start to my project! I was so clueless before.

    • @CodeAndCourse
      @CodeAndCourse  3 ปีที่แล้ว

      Glad I could help!

    • @virenderkumar9002
      @virenderkumar9002 3 ปีที่แล้ว

      Please help me I have to submit my project on time please help🙏 .
      I am getting php code after clicking on submit button instead of echo 🤯🥴

    • @jahnavirainlover
      @jahnavirainlover 3 ปีที่แล้ว

      @@virenderkumar9002 What's your code?

    • @virenderkumar9002
      @virenderkumar9002 3 ปีที่แล้ว +1

      @@jahnavirainlover I have tried in three different codes. I have also tried the code in this video purely copied code but same result inspite of showing registration successfully it is showing me the php code. I think the problem is not there in the code the problem is in connecting localhost server it's not connecting I don't know why

    • @virenderkumar9002
      @virenderkumar9002 3 ปีที่แล้ว +1

      If u know something about connecting server then please tell me

  • @thehunter9795
    @thehunter9795 4 ปีที่แล้ว +1

    It is not work at wapm server why??

  • @GDBlackRed
    @GDBlackRed 5 ปีที่แล้ว +29

    When i click submit.. it shows me my php code.. what thehell

    • @atinyana9879
      @atinyana9879 5 ปีที่แล้ว +1

      same i don't know what to do

    • @vishaldhangar3470
      @vishaldhangar3470 2 ปีที่แล้ว +1

      Yes.. same

    • @operationgaming8957
      @operationgaming8957 2 ปีที่แล้ว +3

      Do you have php installed and configured?

    • @jakomedo5123
      @jakomedo5123 2 ปีที่แล้ว +2

      Open your code using localhost

    • @donkanji6785
      @donkanji6785 2 ปีที่แล้ว +3

      Save both pageb. Php and put in localhost
      I tried it and it was successful
      I also made my another form and was also successful

  • @Shandeeme
    @Shandeeme 5 ปีที่แล้ว +5

    thankyouu!

  • @suyashpal5851
    @suyashpal5851 6 ปีที่แล้ว +7

    Thanks Bro your tutorial helped me a lot

  • @ultrasoundaudio7844
    @ultrasoundaudio7844 2 ปีที่แล้ว +1

    its showing this page isnt working right now

  • @ahmedhanif5055
    @ahmedhanif5055 3 ปีที่แล้ว +1

    Can i select the data type of Gender = Boolean? Because its just two things M or F. Please correct me if I am wrong

  • @davilavilolo
    @davilavilolo 5 ปีที่แล้ว +3

    Simply great job. Thanks so much.

  • @marvin5109
    @marvin5109 2 ปีที่แล้ว +2

    thanks mehn this really helped me out

  • @mraziz3230
    @mraziz3230 4 ปีที่แล้ว +7

    That's awesome,
    I just learned to store data from HTML from my database
    Thank you so much.

  • @paulusnorris199
    @paulusnorris199 2 ปีที่แล้ว +1

    very helpful. i already try it, but there's only 1 data can be inputted.. is there any way to submit more than 1 data? thanks

    • @CodeAndCourse
      @CodeAndCourse  2 ปีที่แล้ว

      Explain more, how do you want to enter multiple data

  • @muneebmuzammal3987
    @muneebmuzammal3987 4 ปีที่แล้ว +4

    100% successfully working thanks bro!

    • @virenderkumar9002
      @virenderkumar9002 3 ปีที่แล้ว

      Please help me I have to submit my project on time please help🙏 .
      I am getting php code after clicking on submit button instead of echo 🤯🥴

  • @ZahidKhan-gf6qh
    @ZahidKhan-gf6qh 3 ปีที่แล้ว +1

    i did make the textbox but it didn't save and said that contact the owner not found

  • @aliciasilva1421
    @aliciasilva1421 3 ปีที่แล้ว +5

    Muito obrigada, funcionou perfeitamente ❤️🙌

  • @medupiramaboea7742
    @medupiramaboea7742 6 ปีที่แล้ว +3

    thanks for the tut, the trouble I'm having is that when i run the webpage the click on the submit button it opens the php file as a text file within the browser.

    • @CodeAndCourse
      @CodeAndCourse  6 ปีที่แล้ว

      it looks like first you need to know how to run php code

    • @miw879
      @miw879 5 ปีที่แล้ว

      @@CodeAndCourse instead you could have just told us how to fix it.. hours of copying your code but it doesnt run just opens the ext file of php code

    • @miw879
      @miw879 5 ปีที่แล้ว

      th-cam.com/video/soJOBrePwzQ/w-d-xo.html you are welcome

    • @miw879
      @miw879 5 ปีที่แล้ว +1

      th-cam.com/video/YsmMVwz1rlo/w-d-xo.html im xampp

  • @vishalghag2613
    @vishalghag2613 4 ปีที่แล้ว +1

    What is the data type of datetime like for username it is s than for datetime what will be given plzz reply

  • @hammadzafar9704
    @hammadzafar9704 5 ปีที่แล้ว +3

    You did just excellent work bro..

  • @sarimdev
    @sarimdev 2 ปีที่แล้ว +2

    thank You so much ❤️❤️❤️❤️❤️❤️❤️❤️

  • @TheWeatherMan2
    @TheWeatherMan2 2 ปีที่แล้ว +1

    Coudn't understand a word but hey the math checks out, thank you

  • @sosad7832
    @sosad7832 4 ปีที่แล้ว +2

    please stop lying in the title

  • @rodrigolozano7687
    @rodrigolozano7687 2 ปีที่แล้ว +2

    Hi! I am using Postgress instead of MySQL. By chance, do you know the function to create connection from the code to Postgress? Like instead of mysql(..., ...) or mysqli_connect_error. Also, I need to insert what the user gives to a specific table in the database. How could I do that? Thank you

  • @grzegorz5763
    @grzegorz5763 3 ปีที่แล้ว +1

    THANK YOU ! IT WORKING ,
    if someone have error:
    "Errors There were errors while saving the data."
    "prepare($SELECT); $stmt->bind_param("s", $email); ...."
    - you must check your xampp working - files must be in htdocs

  • @Mark-xs1ys
    @Mark-xs1ys 5 ปีที่แล้ว +1

    Cannot POST /insert.php
    Please help me. I have been sitting here for so long trying to figure out this problem. I tried your source code, and it stills says that. Got any idea?

  • @hacker_jha
    @hacker_jha 3 ปีที่แล้ว +1

    I'm not getting any error but not find any data in database it also shows new record insert successfully
    But not getting any entry in database

    • @CodeAndCourse
      @CodeAndCourse  3 ปีที่แล้ว

      Please check out the source code link which is in the description

  • @noelvarghese
    @noelvarghese 4 ปีที่แล้ว +2

    hi
    i am not able to insert it.
    instead of showing "new record successfully created" its showing my entire php code.
    what should i do?

    • @CodeAndCourse
      @CodeAndCourse  4 ปีที่แล้ว

      You may find your solution on forum.codeandcourse.com

  • @vevo8707
    @vevo8707 2 ปีที่แล้ว

    sir how I can do the same in shared host I try but when I fill the form it said Could not connect to the database.

  • @Ayiamus7
    @Ayiamus7 3 ปีที่แล้ว +2

    Thanku very much,
    You saved my day, I was struggling alot, gone through many long long video's nothing worked, but this video worked short n sweet.
    May Allah bless you with healthy and happy life 🥰

  • @bhagyasrisatyavarapu5948
    @bhagyasrisatyavarapu5948 2 ปีที่แล้ว +2

    Super bro I watched many they won't work but it was worked.. Thanks a lotttt🤩😊😇

  • @Артем-в9п5п
    @Артем-в9п5п 3 ปีที่แล้ว +1

    Thank you for your explanation. I have done it). This is my first site. But I don't understand why is registered user doesn't stay on my site. How can he sign in? What should I create? It works. But when a user tries to sign in with his login one more time it isn't possible.

  • @Abhishek-td6ze
    @Abhishek-td6ze 2 ปีที่แล้ว +1

    i have copied the exact code for both html and PHP files created the same database with same fields and same table name but after clicking submitting button it is showing me php code so what can be the solution for this sir?

    • @sam-fe7wi
      @sam-fe7wi 2 ปีที่แล้ว

      did you know how to solve it?

    • @Abhishek-td6ze
      @Abhishek-td6ze 2 ปีที่แล้ว

      @@sam-fe7wi not yet

  • @humbledawn9693
    @humbledawn9693 3 ปีที่แล้ว +1

    when i submit the uotput put is all field are required?