How To Create a User Profile Page in PHP | OOP PHP & PDO | PHP User Profile Page System

preview_player
Показать описание
In this PHP tutorial you will learn how to create a profile page system in PHP, and how to let users change their profile page after being logged in. You will also learn about error handlers, and MySQL databases, which includes letting the user change their profile information. 🙂

We will be using PDO and OOP PHP in order to build this, and even though it is a long video, I promise it will be helpful to anyone wanting to learn PHP.

➤ LINKS

➤ TIMESTAMPS

00:00:00 - Introduction
00:02:12 - My personal files can be downloaded
00:02:37 - Showing what we will build!
00:07:06 - This is a "lesson", not a "how to"
00:07:29 - Getting started!
00:16:32 - Creating the profile class files
00:19:07 - Creating the profiles database table
00:24:31 - Creating the profile classes
00:26:50 - How we will do the MVC model...
00:28:17 - Creating the model class
00:42:07 - Creating the controller class
01:00:25 - Fixing some code...
01:02:45 - Changing the signup model and controller
01:09:41 - Testing our website!
01:11:10 - Creating the view class
01:34:49 - Testing the finished website! :)

➤ 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 and YouTube Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

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

eventually you back to PHP, we need more PHP bro, you're are amazing at explaining such topics

net-tv
Автор

Please continue this series! It has helped me tremendously to fundamentally understand PHPOOP at my new job! Looking forward to it! You are very much appreciated 🙏

Sebber
Автор

The timing of this video really could not have been any luckier for me. I literally came across your videos for the first time yesterday, and they've been a great help with my assignment. Damn

eclipse
Автор

As someone pointed out in the comments, using rowCount() to check how many results we get when we query the database, isn't a method that work in all database types. Instead you should use count() after you returned the data.

SO INSTEAD OF:

if($stmt->rowCount() == 0) {
$stmt = null;
header("location:
exit();
}
$profileData =
return $profileData;

IT SHOULD BE:

$profileData =
if(count($profileData) == 0) {
$stmt = null;
header("location:
exit();
}
return $profileData;

Dani_Krossing
Автор

Hallelujah!!!!

He finally shifted his attention to php😭😭😭

favour
Автор

I have been waiting for this video for over a year when I first stumbled on how build your login system. I so much appreciate this as it has kicked started my idea on what I need to do for my website. I am trying to refrain from using WP as too many modules colide with one another and cause functions on the my website to not allow a user to get in contact with me. This blew it for me, so I wanted to create my own. So this is why I am here! Thank you so much for this much needed content. I will continue to support your parton page, soon in a very big way. This information is extremely valuable to me!! You rock brother, KEEP Em' Coming!

pcprodoc
Автор

Your PHP video series had a big impact on my developer career and I still have good times to see your new videos regarding to web developer topic. Keep it up Dani and thanks for everything!

balinttoth
Автор

The ultimate best php course ever seen, can't stop watching this guy ❤

imadel
Автор

man everything you teach here is so smooth like i watched many oop tutorials on php but i never got that much from them. Your tutorials are easy to understand and on point the fact that you put very well in practice php oop is awesome this way i know at least a way how should i design things and move them from procedural php to oop php.

florinszasz
Автор

Thank you so much dani!!, casually I was going to start the php OOP series and you upload this video 🙏🙏

miguelolivar
Автор

My mentor, please continue to help us, you are doing really great.

Visionconcept
Автор

I'm planning to go back to college and your PHP tutorials are great refreshers! Thanks for doing what you do!

pepper_
Автор

Happy to see You Again working with PHP! ☑️

eneshamzaj
Автор

Brilliant! Thanks for another great tutorial on php, great to have you back doing php tuts again. I am starting to get the hang of OOP and PDO thanks to you, a very good tutorial creator and presenter.

photoinshot
Автор

I really liked your last php episodes before this one. They are so clear and understandble and this viideo also super. Thanks for the work. Please if you contunue doing php tuts I'm really excited to watch you do one on php MVC "Model Veiw Controller" and would be greatly apreciated.

mounir
Автор

Good to have you back as teacher of PHP. I loved your way of explaining and love it again. Thanks.

GerritforBazeja
Автор

Wow just wanted to write a quick thank you for great tutorial! Actually your OOP login system tutorial was explained so well, that I managed to finish this one before watching the rest of the video to check if I did it correctly :)

aleksandratsai
Автор

Daniel, thank you. I'm sure a video like this took a lot of time and thought. You helped me quite a bit.

austinnwharton
Автор

Extremely high quality content for free? thanks for providing these helpful tutorials and please do a Q&A!!!!

itsyoboiarroi
Автор

Perfect! Done and done. I hope you keep going with this project. Would love to learn OOP PHP on 'How to upload profile images to users' etc.

GodexWasTaken