36: How to connect to a database in PHP | PHP tutorial | Learn PHP programming

preview_player
Показать описание
How to connect to a database - PHP tutorial. Today we are going to learn how to connect to a database from a website using PHP. In these lessons we will learn how to access a database, and how to get data from a database.

➤ 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 :)

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

tks for sharing this lesson, i was stuck with how to connect my db for my school job, love you

dogiap
Автор

Finally, a PHP tutorial video I can watch without cringing.

brandonneilsta.teresa
Автор

I've already downloaded the whole playlist
I've come back to thank you
great job
guys even if u know the topic, still watch the vedio to the end u will get new ideas to build Ur webpage.

ujwalc
Автор

thanks man u are a legend. Young programer here from Kenya .

johanmbaabu
Автор

I like the way you demonstrate and explain. Creating an interface for a database has been difficult for me. For some reason, there’s always something I’m missing. My code looks right, but it doesn’t work. I am looking forward to going through your other videos on this topic. Thanks!

QuesoSlam
Автор

Nice video. Quick and to the point. I wrote my 1st PHP programs almost 20 years, the end of 2000...before YouTube existed. But haven't done much with PHP since. My web server is set to use version 5.3, which is unsupported, so my old programs will run. My old PHP programs need updating to run version 7. Surprise, surprise...things have changed. The old connection method no longer works. This and the next video, helped. Thanks!

billb
Автор

Great tutorial, well explained. How would you secure the DB handler pages from someone seeing the source. Is it based on permissions to the file on the server or by preventing access to this page on the web server configuration? Or some other way. Thanks.

Klenric
Автор

I can now understand while looking on the screen.

jaynostulop
Автор

I've learned from you in one day what I couldn't get from college teacher in 4 months

zahraaliux
Автор

Finally, someone who speaks English...phew!

kevgits
Автор

Lol, after the previous episode, your voice changed from energetic to a more grown man from this new episode XP

renemar
Автор

That was so much easier than I was expecting

jlambert
Автор

My goodness... I should have watched your tutorials on the subject years ago - thank you!

guylemay
Автор

Really awesome. I am a beginner I really learned a lot . Highly recommended.

teryphlp
Автор

Applause to you sir. Thanks for sharing & teaching your programming ideas, I have learned well through your tutorials 🥰

aplemancao
Автор

Your information is so on point and easy to understand.

harlanreece
Автор

sir i have'nt seen tutor like you, you r the great sir

amarjeetsingh
Автор

Great videos!!! Great explanations, easy to understand and very well taught
Thank you

mikegerow
Автор

Such a clear explanation man...!! Loved it very much. Thank you for making such a informative video.

nazifasadia
Автор

Hi, how do i know my server name because I'm installing mysql in my linux server. What to replace with the 'localhost'?

khairelfarish