38: Insert data from a website into a database using MySQLi | PHP tutorial | Learn PHP programming

preview_player
Показать описание
Insert data from a website into a database using MySQLi. Today in this PHP tutorial we will learn how to insert data into a database using PHP. To do this we will focus on using PHP MySQLi database functions, and then in the next episode we will get into Prepared Statements.

Regarding people asking why we are not using PDO:

In PHP there exists two methods of programming, which are
"Procedural programming (PP)" and "Object oriented programming (OOP)". In this PHP course we are using PP, and not OOP.

When using PP, it is possible to use MySQLi and Prepared statements. And when using OOP it is possible to use MySQLi, Prepared statements, and PDO. Therefore we cannot use PDO in these lessons here.

HOWEVER, in a few episodes I will show how to get and insert data into a database using prepared statements :)

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Рекомендации по теме
Комментарии
Автор

Sad thing is that some people take a lot of money for shit that is very low quality and You sir, putting this gold for free. Thumbs up my man:)

rogut
Автор

Daniel watching this tutorial is the reason why I did not give up on programming and being a programmer.
God bless you!

marinarioagalliu
Автор

Your helpfulness is immeasurable and my homework is saved.

Xiefux
Автор

I've been watching your php episodes since last friday and you're the only person who made me understand these stuffs. if you're reading this, I really appreciate you and thank you!

sambajonpatrickf.
Автор

You are one of the best teachers in the world! Thank you very much for providing us a great tutorial. You are making the world a better place for making this great videos :)

mehmetmertgunduz-personal
Автор

It is the rare feeling one gets after the first PUSH onto a database ...it's priceless - thank you!

guylemay
Автор

Daniel, Your video tutorials are first-class! I am seriously impressed by your professionalism and your pedagogic style.
Thank you so much for your great work.
Best wishes,
Noel Macara

noelmacara
Автор

Super clear and awesome tutorial. Thank you so much for spending time putting these super awesome videos together on php, javascript, css, etc. Really appreciated. And by the way, your English is perfect. I wouldn't know English is your second language if you did not mention it in the video at all.

robertng
Автор

BRO, you have the BEST tutorials for this! I'm trying to learn PHP myself to make wordpress themes and plugins as well as my own custom site with users. Thank you for the videos! I'm going to watch your OOP PHP videos once I'm done with this series. Thanks for the help!

LandonHughes
Автор

Sir, a heartful thanks to you for these videos, I think you taught PHP connection with databases in a very neat way. It helped a LOT

nikhilmammula
Автор

Best PHP tutorials I've seen yet. Keep up the good work!

andrew.schaeffer
Автор

You explain things better the MY LECTURERS at university. Thank you very much.

shabanyounas
Автор

What an amazing Tutorial! Thanks a ton!!! Learned exactly what I was looking for a long time.

lukasluftlaufer
Автор

I searched a lot and Didn't find what I was looking for your course has taught me to build Responsive websites now I am kicking off to the backend thanks Man

maheshjamdade
Автор

Great tutorials! Your videos have been valuable in helping me with advanced web concepts. Thank you!

tylercrawford
Автор

You tutorial is by far the best in YouTube... Well detailed, covers everything one need to know concerning MySQL and PHP. Thank you Dani

mcgee_ayo
Автор

Daniel you're super good. Great voice, body of knowledge when 8t comes to programming. You're a great teacher. Keep soaring. Your tutorials are one out of millions. You're the best. I have couple of codes I've been working on on how to create new records for sign up they didn't work. Getting this will push it to action. Thumbs up.

emmanuelwhesu
Автор

Thank you for all the hours of concentration and hard work you put into these videos Daniel.

SurfingTheMentawais
Автор

Amazing explanation! Easy to understand and straight to the point :)

RemoteJuniorJobs
Автор

i didn't get the previous lesson quite well but i think i begin to get the hang of it now, thanks a lot matte for offering this for free, you are a great person

hassanelkashif