Тёмный

Connect Your HTML Form to MySQL with PHP: Step-by-Step Tutorial 

Code And Coins
Подписаться 71 тыс.
Просмотров 835 тыс.
50% 1

Want to know, How to connect HTML Form to MySQL Database using PHP. Here I have an easy and Short step to Insert Form data into a database.
Donate here: www.paypal.me/nawarajshah
Source code: bit.ly/2TwJmJP
PHP Tutorial for a beginner: bit.ly/2pWmF3A
If you don't know how to create HTML form then you can watch :-
How to Create Registration Form in HTML - Easy - 2017 = • From Zero to Hero: Bui...
HTML Forms - Learn 18 HTML Input Types | HTML5 = • Mastering HTML Forms: ...
Login System using PHP with MySql Database with Session = • Login System with PHP ...
Twitter : / codeandcoins
Google+ : goo.gl/7vjhrp
Facebook : / codeandcoins
Blog : goo.gl/EW5zMr
Share this Video and Subscribe to my channel
#CodeAndCoins #MySQL #Php

Хобби

Опубликовано:

 

30 авг 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 667   
@nikhilsharma87
@nikhilsharma87 4 года назад
I watched dozens of videos and saw bunch of source code , but nothing worked . Until i found this one . Thankyou so much man for keeping it so simple and effective
@CodeAndCoins
@CodeAndCoins 4 года назад
You welcome Nikhil
@priyap5200
@priyap5200 6 лет назад
Tq Soo much frnd .I have been trying to insert the data for one week ur tutorial helped me to do that
@nomadboy4828
@nomadboy4828 5 лет назад
I like your way of teaching. very simple and easy to understand for me. Thank you very much Code And Coins
@mariwright5841
@mariwright5841 3 года назад
Watched about 15 videos on this subject and your's is the first to show the correct method of doing this. Made my day.
@CodeAndCoins
@CodeAndCoins 3 года назад
Glad it help
@noobplayzz6383
@noobplayzz6383 4 года назад
Very Good tuturial Keep up your work!, Maybe next time show the MySQL Database Configuration too because i set the values to int(11) but they needed to be TEXT. O yeah i never programmed with php before and i added a value myself like its the best tutrial ever!
@tobyqweef7555
@tobyqweef7555 5 лет назад
Absolute legend Thank you so much
@kovacsmarton3726
@kovacsmarton3726 6 лет назад
Thanks... Finally a good video, where I understood, how can I connect these things.. Thanks :D
@ns-rz2gj
@ns-rz2gj 5 лет назад
after dozen of youtube video... finally a video which worked out my php connection to the db
@dhirensahni1698
@dhirensahni1698 5 лет назад
I could not connect its directing my php code file not saving it in my db
@siddhartharenikuntla9624
@siddhartharenikuntla9624 4 года назад
@@dhirensahni1698 same thing is happening to me
@TalhaKhan-py3kt
@TalhaKhan-py3kt 4 года назад
Thank u soo much.... After 2 days i completed my work because of u once again thanks
@asegidayele8279
@asegidayele8279 5 лет назад
such like teaching is the best way ! i like this video.
@martinroger9921
@martinroger9921 5 лет назад
Oh i found it from Blog.thanks I am trying. thannks
@nonoletebele6706
@nonoletebele6706 3 года назад
I watched so many videos and each one of them were over complicated, they forgot a step or two... i was so stressed until i found your video. Thank you so much
@CodeAndCoins
@CodeAndCoins 3 года назад
Glad to hear that 😊
@Alex-hj5qh
@Alex-hj5qh 6 лет назад
Thank you man ! it really helped me !
@seandykes7903
@seandykes7903 5 лет назад
dude, this is amazing. thanks you. Why is nothing else so clear about this?
@worldofcarsCA
@worldofcarsCA 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9DnCCkosNcc.html
@abhimanyuray6827
@abhimanyuray6827 5 лет назад
Simple, awesome and useful video, loved the video bro
@soundaramveerappan79
@soundaramveerappan79 5 лет назад
this was very helpful... thank you soo much
@joshua7873
@joshua7873 4 года назад
where should i save it and how can i open the link like this localhost/test/register/form.html when itype it it said object not found please help me
@obinnanjoku637
@obinnanjoku637 5 лет назад
Nice job, God bless you sir.
@notsogood327
@notsogood327 Месяц назад
I created a website in html and a login page in php and mysql i want to click in login oh html so it opens the login created in php nd mysql what address should i write for opening log in n page
@wsog5960
@wsog5960 4 года назад
Thanks man really helped me on my project.
@himashineevenkatesh1014
@himashineevenkatesh1014 5 лет назад
thank you so much , really so useful. short and precise.
@aakrutipatel367
@aakrutipatel367 5 лет назад
THANKS . IT HELPS A LOT
@omkarkamble9200
@omkarkamble9200 4 года назад
thank you brother. i tried alot but nothing was working , but this worked. thanks. just logged in to subscribe you !
@saifmilo2073
@saifmilo2073 3 года назад
Bro, Excellent your MySQL database tutorial. I must learn from you. Thanks a lot for providing such videos.
@ferds6990
@ferds6990 3 года назад
bro what do i need to do for the configurations in creating the table in mysql?
@user-sw6eg8qg8y
@user-sw6eg8qg8y 11 месяцев назад
Thank you so much. It is very useful. Keep training us!
@larrythelobster2474
@larrythelobster2474 5 лет назад
Thanks man, awesome tutorial
@zakaria1756
@zakaria1756 6 лет назад
well done, helped a lot , thanks
@sebastianandregodoy1572
@sebastianandregodoy1572 5 лет назад
Cool dude! I have a question, How can I prevent a duplicated record? for example if the user register twice, how can I prevent it from being added up to the Database?
@KaiWolf18
@KaiWolf18 3 года назад
Thank you so much, got it to work with other entries after a lot of futzing around with it!
@CodeAndCoins
@CodeAndCoins 3 года назад
Great to hear!
@yubarajrijal3575
@yubarajrijal3575 5 лет назад
Good one! 👍👍, i think it would be best if he had included topics like howbto create database & table. Cheers!!
@CodeAndCoins
@CodeAndCoins 5 лет назад
thank you for your suggestion
@ramyam5668
@ramyam5668 5 лет назад
We got it sir thank you so much...
@BelieveTheCreator
@BelieveTheCreator 4 года назад
I have a problem, when I click submit it takes me to a page where it simply shows me all the PHP code, may I have some help please?
@Jackaljx
@Jackaljx 4 года назад
Thank you so much for keeping this simple. My code is finally working and passing data to my database!
@abdullahnumanal-madani5746
@abdullahnumanal-madani5746 5 лет назад
Thank you for this very useful and practical video. You were to the point!
@BelieveTheCreator
@BelieveTheCreator 4 года назад
I have a problem, when I click submit it takes me to a page where it simply shows me all the PHP code, may I have some help please?
@multibasicterm2681
@multibasicterm2681 Год назад
Also I have facing same issue
@kabira0795
@kabira0795 3 года назад
Sir I am facing an error in SQL syntax ; check manual that corresponds to your MySQL server version fort the right syntax to use near ....
@angieremolacio56
@angieremolacio56 4 года назад
the only tutorial that works well on my website. thank you so much, you saved my life. hahaha i need this for my final project. godbless :)
@CodeAndCoins
@CodeAndCoins 4 года назад
You welcome
@angieremolacio56
@angieremolacio56 4 года назад
😊
@karthikrajs9358
@karthikrajs9358 6 лет назад
Really good one..very useful..
@artencisa4790
@artencisa4790 3 года назад
Thanks a lot for the guide sir. MUCH LOVE !
@noobplayzz6383
@noobplayzz6383 4 года назад
Hey I have a question is there any way of doing this: Not created yet = New value | Already created = Replace a specific value
@PramitAmatya
@PramitAmatya 10 месяцев назад
Hello actually i connected html with database using php to receive data(like name, age, etc) from the users and i hosted my website using github. But PHP isn't being accepted by github. How can i connect????? and receive data from github
@pikachoopik8593
@pikachoopik8593 4 года назад
Yeah! Its really useful 🤩
@bahitahakima5678
@bahitahakima5678 12 дней назад
Thank you so much you are the best 🎉🎉🎉
@TrayVidal
@TrayVidal 5 лет назад
Thank you so much man fa sho fa sho💯
@djmono682
@djmono682 6 лет назад
Please make a video on how to learn javascript easily
@adeptux1
@adeptux1 5 лет назад
how do you have a database credential in your code without hardcoded in the php file? In the example, your password for the database is empty.
@jameelurrehman8587
@jameelurrehman8587 5 лет назад
Thank's useful!
@sahiltrivedi6391
@sahiltrivedi6391 5 лет назад
please help i have copy pasted php code provided in your website but i am facing a error when i try to connect database to php typing localhost/connect.pht it shows username should not be empty
@rubayethassan5615
@rubayethassan5615 2 года назад
Bro this tutorial is just awesome...... This video has a very clear explanation...... And it's easy to understand..... Please make this same tutorial using node js..... Please please please bro.... Please 🙏🙏🙏🙏
@jazmineemiemariegueco
@jazmineemiemariegueco 5 лет назад
Hi. I just want to ask, when I am establishing a connection between database and php. It gives me error because it doesn't read the $conn. Why is that so? Please help me.
@alitamba6724
@alitamba6724 2 года назад
Hey hope you are doing great an you guys in the comment section i have a problem like i run correctlty the code and then when i press submit after fullfiling all the requirements it says : "Submit button is not set" . So plz if you can help me i would really really REALLY apreciate thank you I I
@guscostarock
@guscostarock 3 года назад
Thanks a lot for this video!! much love
@davidsmith-ws4bz
@davidsmith-ws4bz 4 года назад
Not sure if this is an error? Line five and six open with two curly brackets, yet, i can see only one closing curly bracket?
@khaledalzaky5329
@khaledalzaky5329 Год назад
how can i open html in local host, it just open google chrom and when clicking on submit button it drives me to the php code page
@TusharSharma-pg7hw
@TusharSharma-pg7hw 6 лет назад
Great sir🙏
@bhupalanagondi6493
@bhupalanagondi6493 3 года назад
Thank you sir. Your is simple and easy other person say same concept half an hour which you say just 4min a well explanation
@CodeAndCoins
@CodeAndCoins 3 года назад
You are most welcome
@gibsonrich2718
@gibsonrich2718 2 года назад
Why when I submit the form it gives me a notification to open the connection.php file, and when I click it it takes me to the text editor page + data aren't being inserted in the mysql
@roozbehkh2889
@roozbehkh2889 5 лет назад
Great work , Thanks
@rakeshrathod6420
@rakeshrathod6420 5 лет назад
thank you so much bro, but i want that their should be something changes when we have added a echo then it should show the prompt message right, but it shows the message on another page .... please can you help me with these ....
@dealplusstore945
@dealplusstore945 8 месяцев назад
Very short and very helpful tutorial. Thanks!
@CodeAndCoins
@CodeAndCoins 8 месяцев назад
You're welcome!
@rashibhardwaj8234
@rashibhardwaj8234 5 лет назад
shows following text after pressing submit password should not be empty but I have entered it.
@akarshsamble5790
@akarshsamble5790 4 года назад
I created the regirstration as shown in above video .but the details are not displayed in the database except the id
@vyshnaviyoj8802
@vyshnaviyoj8802 5 лет назад
this worked for me and A big thank you for this video
@prasanththennarasu1829
@prasanththennarasu1829 5 лет назад
Sir I can able to understand everything but from.html and connect.php is there know on the video from where did you create that page bro....That is the only thing I can't able to understand....
@areeshajiwani2551
@areeshajiwani2551 3 года назад
Thanks a lot!! Finally created a database connection
@CodeAndCoins
@CodeAndCoins 3 года назад
Glad it helped!
@marcellinbong6942
@marcellinbong6942 5 лет назад
Code and Coins, please explain more about how to open the file, etc. I'm a beginner who is helped by you!!! thank you so much... but i have difficulties when I'm trying to open the html file, evidently i have to open the html files in the localhost/FILENAME/ which has been saved in htdocs in xampp! good luck everyone! hope this comment can help another beginner like me
@Royowski01
@Royowski01 5 лет назад
Hi Ram, thanks for this great tutorial
@CodeAndCoins
@CodeAndCoins 5 лет назад
I am not Ram
@nazimuddinmirja6849
@nazimuddinmirja6849 5 лет назад
this is a very good video . thanks for share.....................
@historyisbeautiful3446
@historyisbeautiful3446 4 года назад
hello thanks for this video i tried it and it work fine but i want the page to be redirected to homepage after successful submission of form message
@temitopeogunsuyi3592
@temitopeogunsuyi3592 4 года назад
This man is really good in teching
@user-xf5mp2wu6g
@user-xf5mp2wu6g 3 месяца назад
I have doubt when I click to sumit button it doesn't show Anything it will only show blank page and doesn't store in database. So, how can i resolve this
@soundaryabc7800
@soundaryabc7800 5 лет назад
sir when i submit login page i get code as o/p.can u help me...how to overcome from this problem...
@vihamra1991
@vihamra1991 4 года назад
thank you, best tutorial.
@SaraphinaForman-di7vh
@SaraphinaForman-di7vh Год назад
Do you know why I am getting the error "405 Not Allowed" on the website? Thanks so much!!!
@ibnuali3161
@ibnuali3161 5 месяцев назад
Amazing teacher 😮❤
@sutharmit5628
@sutharmit5628 3 года назад
Bro, after I enter the information in the form it takes me to another page and shows php code
@zulfafazlee8853
@zulfafazlee8853 6 лет назад
yes great awesome thank you!!
@CodeAndCoins
@CodeAndCoins 6 лет назад
What happen
@LuthfarRahman
@LuthfarRahman 5 лет назад
Good One :)
@purpleprincess4126
@purpleprincess4126 6 лет назад
Will this work on wamp as well?
@kritikajindal156
@kritikajindal156 4 месяца назад
When I submit the data then this site isn't working is showing on the screen.....help!
@RedappleDesigns
@RedappleDesigns 5 лет назад
thanks buddy
@HdjejejeShshhshss-hl9uq
@HdjejejeShshhshss-hl9uq 2 месяца назад
when i run it just shows a plain text of the php form, how to fix it?
@PravinPokhrel8389
@PravinPokhrel8389 Месяц назад
i have a problem [Username Souldnot be Empty] Message pop and i don't find mistake HELP!!
@EmmanuelGarcia-xp6sf
@EmmanuelGarcia-xp6sf 5 лет назад
I am using a XAMPP, I putted all my files all the source code u linked on the description. The html worked except for the connect.php once I press submit it only shows the code of connect.php.. I hope u response sir..
@EmmanuelGarcia-xp6sf
@EmmanuelGarcia-xp6sf 5 лет назад
i am also using brackets as my text editor
@CodeAndCoins
@CodeAndCoins 5 лет назад
after you write a php code, you have to save that file on xampp/htdocs location (this is a location where you install your xampp)then open xampp go to browser and then type "localhost/that_file_name" then press enter
@sirdprpunjab4019
@sirdprpunjab4019 5 лет назад
same problem is in wamp server..even i saved files in htdocs still its shoeing connect.php code
@bitsoflife4650
@bitsoflife4650 4 года назад
Same issue here... But after opening xammp , I can't find browser to type in local host php file name
@aakashchoudhary5610
@aakashchoudhary5610 4 года назад
It is showing username should not be empty
@yashjain3583
@yashjain3583 5 лет назад
how to add a link to a php pAGE Instead of displaying the message "reccord inserted" ?
@dulshansenadheera3084
@dulshansenadheera3084 2 года назад
Thank you very much for giving this lesson. It's very helpful. 👍👍🤝
@CodeAndCoins
@CodeAndCoins 2 года назад
You are welcome!
@deekshagowda5106
@deekshagowda5106 2 года назад
Parse error: syntax error, unexpected variable "$conn" in E:\xampp\htdocs\diagnosis\connect.php on line 12 .how to rectify this error
@kabira0795
@kabira0795 3 года назад
You saved my job
@nomadiczameer
@nomadiczameer 2 месяца назад
thankyou so much brother
@sasithrasockalingam3041
@sasithrasockalingam3041 4 года назад
hi bro, its awesome!!! but the connection do by own is i cant understand even i have looked in your link. im new to the this field. so can you teach me the database connection. Otherwise good. tq.
@asmitapatel554
@asmitapatel554 3 года назад
Thanx, but I'm using wamp server and whenever click on submit button then it showing .php code, can u help?
@CodeAndCoins
@CodeAndCoins 3 года назад
Check out php Playlist from my channel
@LukaszSkyWalker
@LukaszSkyWalker 5 лет назад
Thx!!
@RANDOMCHOICESTV
@RANDOMCHOICESTV 4 года назад
Please! How to add table of registration in blogger and link it with database phpmyadmin
@zyrhustayag
@zyrhustayag 2 года назад
Thank you, Sir! Helpful.😀
@CodeAndCoins
@CodeAndCoins 2 года назад
Most welcome!
@khajapeershaik8874
@khajapeershaik8874 5 лет назад
Fatal error: Call to a member function query() on resource in C:\xampp\htdocs\Final egister.php on line 29 i'm getting this type of error pls help me
@takshashilapaik5263
@takshashilapaik5263 3 года назад
I do this but when I click on submit button it downlode php code insted of store info. in mysql
@majestyonuwabhagbe6838
@majestyonuwabhagbe6838 Год назад
is it possible to do this with db browser
@magneticsisters5200
@magneticsisters5200 4 года назад
When I click on my submit button to store the data in database I see my whole PHP code and username password are also not stored in the database Help please!!!
@deshpadmakumar5193
@deshpadmakumar5193 4 года назад
did you find the answer
@ateskursunoglu1555
@ateskursunoglu1555 4 года назад
I have the same problem were you able to solve it?
@syedazran8481
@syedazran8481 4 года назад
yeah I am getting the same problem and he didn't reply yet for any solution did you guys and let me know
@tareqabousherif8609
@tareqabousherif8609 4 года назад
I had the same problem. It's because you are not on a localhost.
@codewithnitin3725
@codewithnitin3725 3 года назад
ru-vid.com/show-UCWlSUGa1WpPMPVSZhnZ0D4w Follow me....I have solution of your problems
@purvjeja
@purvjeja 4 года назад
My php code gets print when i click on submit button?What to do?
@ashley954
@ashley954 6 лет назад
Thank you.
@programmingwithjavascript3579
@programmingwithjavascript3579 3 года назад
Which ide are you using
Далее
Save HTML Form Data to a MySQL Database using PHP
24:38
Store HTML Form Data to MySQL Database
6:49
Просмотров 1,7 млн
Super sport😍🔥
00:14
Просмотров 2,4 млн
New Gadgets! Bycycle 4.0 🚲 #shorts
00:14
Просмотров 9 млн
Login Form in HTML & CSS
11:07
Просмотров 1,1 млн
1🥺🎉 #thankyou
0:29
Просмотров 78 млн
great#shanpehlwan#shorts
0:19
Просмотров 2,6 млн