MySQL - INSERT Records with HTML Form and PHP

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

You can easily create an HTML form with PHP to insert records within your MySQL database.

Warning – It’s important to create a troubleshooting routine, and verify you have written your code properly.
Рекомендации по теме
Комментарии
Автор

These new videos are soooo good. I used to watch your old videos, especially on server, and i'm so happy you are now making these tutorial videoes instead of the talkshow-ish videoes you did 👍

kimhaagenmathiesen
Автор

Thank you for being a great teacher! This was very helpful to me for organizing ideas before implementation.

mortonman
Автор

Great tutorial! Just made some small changes based on my requirements and it all worked perfectly. Thanks for the upload - much appreciated

maguzmcstudios
Автор

i inserted my data like that and the message appear to show me the data has already inserted successfully but when I open my database nothing shown!!!
I don't now where i mistaken!!

hadijamarijani
Автор

Eli, years ago, you thought me how TCP/IP works and I'm grateful for that. But the code in this tutorial is insecure (more specifically, it is vulnerable to SQL injections). Doing PHP in this style is fine for small tools as long as you use prepared staments to prevent against SQL injections. But for bigger applications, this kind of PHP does not scale up and you want to look at a framework like Laraval for PHP or either Express for Node or ASP.NET Core for .NET.

My main point is that you should not teach people to write insecure code. Using prepared staments in PHP is not that difficult and prevents you from one of the most frequent attack vectors on the web, being SQL injection.

arthurheidt
Автор

Thank you sir, I really appreciate your teaching

bismarklarbi
Автор

I'm trying to determine an efficient way of inner joining millions of records... my query has been running for 2 weeks now with no progress bar :(

sucrose
Автор

Youtube hides you from my feeed ! Glad to see ya again!

nintemic
Автор

Hello
Can you make a tutorial about backup and restore MySQL data to google drive or google cloud storage.

sarwar.
Автор

This is totally insecure and open to sql injection. It is very easy to delete all data from your database via html from. You should use prepared statements or at least sanitize all form inputs.

igorshandle
Автор

The application example is vulnerable to SQL injection.

FredericHamel