How to Create an HTML Form That Stores Data in a MySQL Database Using PHP Part 2 of 4

preview_player
Показать описание

Watch the updated version of this tutorial here:

Learn how to create a PHP form that will store data in a MySQL database. In this 4-part series, you'll learn the exact PHP code you need to connect to, access, and store data in a MySQL database using a simple HTML form. Part 2 of 4

-~-~~-~~~-~~-~-
Please watch: "Ryan Carson: How to Get an IT Job WITHOUT a College Degree"
-~-~~-~~~-~~-~-
#php #webdev
Рекомендации по теме
Комментарии
Автор

Thank you John Morris, your tutorials really help me a lot!!

ifantheapplicator
Автор

dude, just wanna say that there are some codes or words that beginner might not understand. thats what i found out to your tutorial. But btw thank you for sharing your knowledge. Good day !

markjasonortiz
Автор

this is superb keep making tutorials brill!

FOGTALK
Автор

Whenever I go to make the database I do the ID and input1. When I go to get the final product, I get "MySQL returned an empty result set (i.e. zero rows). (Query took 0.0000 sec)" and I don't know what to do.

SinisterixX
Автор

This is reaaly cool. Making a username and password table for my website

TheTechOnline
Автор

On 7:44, I wasn't able to connect successfully. Where do I put my demo-form.php and demo.php files? Does it matter where I put them on my computer? Please advise. Thank you!

eddiechien
Автор

I've been watching your tutorials.. well, thanks a lot. ur really great :D

reindael
Автор

@John Morris, sir from where I get the code for this form?

dheerajkhandelwal
Автор

When I downloaded the demo from your actual site it didn't give me file with "demo-form.php" only a "demo.php" that is the form. It looks like you have six files open but I only have 5 that got downloaded. Help!!

Also do you happen to have a tutorial on how to create those country, state, city selectors? That's really what I'm looking for but I'm hoping to make it myself with the knowledge you have provided.

Let me know. :)

Thanks,
Naya

anayamartella
Автор

Hey in when I click save for the table it tells me that I need to enter a valid length  . What does that mean ?

jonc
Автор

I did everything like you said, no errors, but the data is not getting uploaded to the database on phpmyadmin

derrik-bosse
Автор

hi lo Mr John show I just want to. Know if you can help me with my table I am trying to set up my table so the people can send they name to the database so they can send they information through database

anthonynewsom
Автор

Hello, you are an awesome man, here is my problem when i enter anything into the input1, it gets me to the demo.php page :( please help

michealhabib
Автор

John could you please send me a link to your demo php file if still available. Thanks!

MrKingss
Автор

hi John, I have a question Where can I find the PHP codes where you are showing define ('DB_name', demo') on my form I indicated ID, Login and Password (3 columns) but I do not know where can I find these code that you are showing PHP

jengcua
Автор

hey John I'm having a little problem with my form processing, don't know if you can help me out. I'm tired of debugging.

kingsshare
Автор

Thank you so much for this series of videos! I'm definitely going to join. I like you teaching style. I'm having a problem and I'm hoping your still around to help out. I have my files live on my website. however i keep getting the error:
Could not connect: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

What does that mean? What do i have to do to fix it?

AdrianJonesII
Автор

Hi, when I browse my demo.php. I get a blank page :( please help! I don't know what is the problem! I had been following every single step! Many thanks!

mattman_fitness
Автор

Dear John,
Can you tel me why i get the message can\t use database

Thanks From Holland By Jan.

Janvanderkloes
Автор

@ribman1998 Well, that's a bit more involved. I'll look at doing a video on that.

john.morris
visit shbcf.ru