PDO Crash Course (PHP)

  Рет қаралды 275,778

Traversy Media

Traversy Media

6 жыл бұрын

In this video we will go over the basics of PDO (PHP Data Objects) which is a secure and consistent way to connect to a database via PHP. It is an alternative to mysqli. We will go over connection, PDO::Query and CRUD operations through prepared statements
OOP PHP MVC Udemy Course $10 Promo:
www.udemy.com/object-oriented...
CODE: All code is in this GitHub Gist
gist.github.com/bradtraversy/...
BECOME A PATRON: Show support & get perks!
/ traversymedia
ONE TIME DONATIONS:
www.paypal.me/traversymedia
COURSES & MORE INFO:
www.traversymedia.com
FOLLOW TRAVERSY MEDIA:
/ traversymedia
/ traversymedia
/ traversymedia
NEED WEB HOSTING?
inmotion-hosting.evyy.net/c/3...
NEW DISCORD CHAT SERVER:
/ discord

Пікірлер: 381
@vertvaliante1571
@vertvaliante1571 4 жыл бұрын
I hope you get paid a lot for what you do. You're the reason I got hired at a local company where I do LAMP stack web development. God bless you.
@lassregnen5790
@lassregnen5790 7 ай бұрын
still hired?
@mrgenetics4063
@mrgenetics4063 3 ай бұрын
@@lassregnen5790he’s too busy making big money to care about anyone but himself Stop asking
@jwf3148
@jwf3148 3 жыл бұрын
Sooo grateful that I found this tutorial. Looking forward to viewing your other tutorials. I went through so many PDO tutorials before this one - and came away knowing that if I "copy/pasted" I could make things work, but with no understanding of what I was doing, or how to think about what I was doing, or how to think through other things that needed doing. Ignorance may be bliss, but working knowledge is thrilling - and because of this tutorial I now have some solid familiarity with some basic working knowledge. Thank you !!!
@shakilnadim
@shakilnadim 5 жыл бұрын
loved this tutorial. your php front to back is one of the best php tutorials out there. Please continue that and some more advanced pdo
@anciao_dev
@anciao_dev 5 жыл бұрын
These crash courses are really helpful. Instead of watching entire playlists or go to a bunch of forums, this is the best way to get started about a techy thing... So keep up and help the ones that really need it.
@khanlakhno2757
@khanlakhno2757 6 жыл бұрын
This lesson is what I was looking for my entire life!
@FinnishPanther
@FinnishPanther 5 жыл бұрын
This was probably the best PHP KZbin course I've ever watched; very well done!
@odunladeoluwaseun7880
@odunladeoluwaseun7880 6 жыл бұрын
I gave link of this video to some members of our local Facebook dev club and it really helped a lot. thanks for producing quality videos like this
@mikepecha3818
@mikepecha3818 5 жыл бұрын
legendary tutorial. Fast pace, yet well explained. Thank you
@nicolashuve3558
@nicolashuve3558 5 жыл бұрын
You're my very first tutorial learning PHP and I was able to follow along with no pb. Please do more!
@iamspencerx
@iamspencerx 6 жыл бұрын
Great Tutorial, I like how you get into problems and then proceed to solve them instead of avoiding them from the start and leaving the audience in total incomprehension which is what my teacher does.
@shivaprakasha841
@shivaprakasha841 5 жыл бұрын
this is gold!!!... i m doing a phase shift from mysql to PDO Programming !!! thanks for the smooth journey !!!
@jaydee3807
@jaydee3807 6 жыл бұрын
The best explanation on KZbin for PDO you will find, very clever and a no nonsense approach.
@marleenloohuis2111
@marleenloohuis2111 4 жыл бұрын
This video make me dance around from joy! I was stuck in a project and this video helped to set everything up the right way. Huge thank you Brad!
@james-ryanstampley7583
@james-ryanstampley7583 5 жыл бұрын
This video was great! Very in-depth and will allow me to easily translate over my mysqli code to PDO. Can't wait to check out your other good videos on PHP!
@shaun_rambaran
@shaun_rambaran 6 жыл бұрын
This was thorough and very well explained. Thanks a lot, man.
@shafanm
@shafanm 6 жыл бұрын
Thank you for investing the time and effort in making this tutorial.
@shreyasikhar1044
@shreyasikhar1044 3 жыл бұрын
Finally, the video that I was searching for months, maybe the best tutorial for PDO, really liked it
@shanemarquiblat6155
@shanemarquiblat6155 Жыл бұрын
The only issue I found with this tutorial is that why I haven't seen this video earlier. This really is a big help for me. Thank you so much man!
@payskin
@payskin 6 жыл бұрын
It was an awesome beginner PDO tutorial. A few topics for the advanced video: - PDOStatement implements Traversable, meaning you never ever have to fetch() in a while loop, you can simply foreach the statement (resulting much cleaner and efficient code, in my opinion) - the awesome parameters of FetchAll() for many fascinating ways to receive multiple data - bindParam vs bindValue in advanced prepared statements - with using mysqlnd driver (afaik, the default driver since php 5.5) you can receive your data from the database in the proper variable types, ie INT arrives as integer not as string (still there are some catches though)
@noapplicablelabel
@noapplicablelabel 5 жыл бұрын
As someone who is getting back in to PHP after a long break this was very helpful. Would definitely encourage more advanced stuff along the same lines. Thanks for the help!
@cee-jaybenkino555
@cee-jaybenkino555 6 жыл бұрын
Yes, we need more advanced stuff with php. Thank you, Brad.
@argeelearner3978
@argeelearner3978 6 жыл бұрын
Thanks Finally more PHP.
@TraversyMedia
@TraversyMedia 6 жыл бұрын
I am doing a PHP MYSQL projects course for Eduonix so expect that and more PHP on the channel.
@argeelearner3978
@argeelearner3978 6 жыл бұрын
Great, Thanks for everything you are my #1 go to channel. I do have your 10 project in PHP on Eduonix(and more ...) and i'm looking forward for this course that you mentioned a couple of times.
@OllieBeeCookswithKnives
@OllieBeeCookswithKnives 3 жыл бұрын
You honestly save my butt here - thanks a lot for posting this!
@bigollie006
@bigollie006 6 жыл бұрын
Absolutely fantastic. To the point, clear, easy to understand, and helpful as you can be. Thank you so much. Head and shoulders above some of the instruction I have been subjected to. I look forward to your Udemy course, which I already purchased.
@kevineriksson818
@kevineriksson818 6 жыл бұрын
Excellent video! Please continue with the PHP. You are a great presenter with a great style. I wish I'd known about your videos when I started with PHP 5 years ago!
@mawwaangry1030
@mawwaangry1030 3 жыл бұрын
Free Seo Tools mangools.com#a5f5dbb8cfeebf848eab1b2ff
@Avenger99
@Avenger99 5 жыл бұрын
Thank you so much. I adore your content, by far my favorite code genius out there.
@rimantasdanilevicius6754
@rimantasdanilevicius6754 5 жыл бұрын
So far the best tutorial regarding this topic.
@mohammedadel001
@mohammedadel001 6 жыл бұрын
Awesome Could you please add more advanced PDO tutorials we liked your way of explanation
@k.chriscaldwell4141
@k.chriscaldwell4141 3 жыл бұрын
I second that.
@user-sc2ov2oc8u
@user-sc2ov2oc8u 3 жыл бұрын
hhhhhhhhhhhhhhhhh
@patriciastone7739
@patriciastone7739 3 жыл бұрын
This is an excellent video, thank you Brad. This is exactly what I needed to understand how to use PDO in my PHP programs.
@frankpacheco8843
@frankpacheco8843 6 жыл бұрын
Please continue with the PHP back to back. I found it very helpful.
@greendragon0009
@greendragon0009 2 жыл бұрын
Brad you always come through for me when I need to know. Thanks buddy. Merry Christmas. :)
@xforkhandlesx
@xforkhandlesx 4 жыл бұрын
Thank you very much, i have been struggling with this for a while, i like your delivery and examples.
@canerdemircigm
@canerdemircigm 5 жыл бұрын
A topic couldn't teach better than this. Thank you very much.
@wespassick8369
@wespassick8369 4 жыл бұрын
Hey man, your a great teacher!! Clear and easy to understand instruction. I own several of your udemy courses and love the youtube stuff too. More PHP front to Back plz.
@papaOhmTV
@papaOhmTV 6 жыл бұрын
Many thanks to your videos, I'm really learning a lot... Please do keep it up!
@abdelazizserbouti6069
@abdelazizserbouti6069 6 жыл бұрын
Great and thanx finally PDO
@robertbourton7800
@robertbourton7800 3 ай бұрын
Clean Language, content is very clear and you go over everything. subscribed!
@nunagames
@nunagames 5 жыл бұрын
I don't know when this video was made but sincerely it is awesome. It has really exposed me to understanding PDO, I really want an advance, creating CRUD and RESTful etc
@vamshidureddy1323
@vamshidureddy1323 5 жыл бұрын
i learn the js and object oriented php and php pdo class from your tutorials thank you soo much for doing, great job bro keep rocking
@electricow1
@electricow1 3 ай бұрын
This channel deserves more exposure to the audience. You're one among the best education channels!
@MrForund
@MrForund 6 жыл бұрын
Thank you, Brad! We would appreciate some more PDO videos
@parthbhodia9575
@parthbhodia9575 5 жыл бұрын
Good job mate, truly appreciate your tutorials. Thanks again.
@norbertotrosman7271
@norbertotrosman7271 6 жыл бұрын
Excelent. Thank you for this video. Continue the PHP series, please.
@Nazmul920
@Nazmul920 6 жыл бұрын
Surely waiting for all the advanced parts!
@xoxoo4877
@xoxoo4877 4 жыл бұрын
Man, you make things look easy! Thank you... Shortly you will learn: how to connect to your DB, learn few (up to 4) commands. If we assume that you know SQL, congrats, that is it
@CorporalPoon
@CorporalPoon 6 жыл бұрын
Don't think I could have asked for a better tutorial. thanks a bunch
@makadibalazs
@makadibalazs 4 жыл бұрын
Thank you for this Brad! Really helped me.
@joseluisbeltramone599
@joseluisbeltramone599 4 жыл бұрын
I loved and appreciated your video a lot. Excellent summary, clear explanation and straight to the point. Thank you very much!
@nemac23
@nemac23 3 жыл бұрын
Beautifully explained thanks Brad
@jamesgreester
@jamesgreester 6 жыл бұрын
Traversy Media you are awesome. Thank you everyday.
@TraversyMedia
@TraversyMedia 6 жыл бұрын
You're very welcome
@busyrand
@busyrand 6 жыл бұрын
Really enjoyed this course. It was very challenging to wrap myself around what was going on based upon some of the syntax, however, everything clicked in the end when I calmed down and read through the code along with notes. You're super talented as an instructor, and I couldn't imagine learning this information any other way. Thank you Brad!
@mawwaangry1030
@mawwaangry1030 3 жыл бұрын
Free Seo Tools mangools.com#a5f5dbb8cfeebf848eab1b2ff
@mdksecrets
@mdksecrets 6 жыл бұрын
What a great help, thanks! finally i can now start with PDO.
@shahipapon833
@shahipapon833 3 жыл бұрын
Before this I have spent lot of time.But I here u clear all my doubt. Thanks a lot ❤❤❤
@kathybartholomew5870
@kathybartholomew5870 3 жыл бұрын
Thanks so much! Wonderful class! Would love more PHP, PDO, and MVC!
@asfandyar687
@asfandyar687 5 жыл бұрын
What a great video! I have learnt so much about PDO and it makes things a lot easier when interacting with the databases. So this was the trailer I needed to watch, I am definitely buying the Udemy course on PDO first thing in the morning. Brad! you are doing such a great service to all the new developers who are eager to learn to code and I'll be honest with you, you are hands down the best teacher when it comes to front-end and back-end development. I am really thankful to you, and your videos keep me motivated when i get overwhelmed with programming and you make it look a lot easier. Furthermore, you deserve all the praise and we can definitely pay you back by supporting you through buying your courses on Udemy and thats what I am going to do. Stay Blessed Sir!
@livesoko
@livesoko 6 жыл бұрын
This was very easy to understand and follow, thanks a lot
@slapmyfunkybass
@slapmyfunkybass 6 жыл бұрын
Thanks buddy, greetings from the UK.
@ahmetozdemir2207
@ahmetozdemir2207 6 жыл бұрын
Awesome work as always! I didn't know that positional params. Great job!
@matthiasdreyer5402
@matthiasdreyer5402 6 жыл бұрын
Enjoying your toutorials vey much. Big thumbs up. Please continue your php series.
@marwanak10
@marwanak10 2 жыл бұрын
Brad's a gem!
@himanshunahak5105
@himanshunahak5105 5 жыл бұрын
Hey Brad, you are one of the nicest people on the planet! I just completed PDO with the Front to Back PHP Course. And I would like to request further videos on this series. I intend to be a web developer and I promise to donate on Patreon when I start earning enough. Until then, please bear with me! Thanks a ton Brad, for your amazing, top class, easy-to-understand and give-it-all tutorials!! Best wishes to you and your lovely family!! Love from India!
@YooLookMarvelous
@YooLookMarvelous 6 жыл бұрын
Thanks for the starter PDO course.. look forward to more.
@jenisrai1699
@jenisrai1699 3 жыл бұрын
Thank You! Came here after taking udemy MVC course which recommends this course as prerequisite.
@kishankewal858
@kishankewal858 5 жыл бұрын
Finally a very good tutorial. guys if you really want to learn PDO than this video is good for you
@miodragjovanovic7845
@miodragjovanovic7845 3 жыл бұрын
Best PDO for beginners 👏 Thank you!
@user-ry4px1tk4q
@user-ry4px1tk4q Жыл бұрын
Is very great course PDO, I never meet like this course in all KZbin, your method to explain is very easy and professional. Thank you very much ❤❤❤
@ernestassimutis6239
@ernestassimutis6239 6 жыл бұрын
Please more php, very appreciate what you do for all of us !
@JesusHilarioH
@JesusHilarioH 6 жыл бұрын
Thanks a lot. Very thorough explanation of each CRUD statement. Thanks again
@usualjyn
@usualjyn Жыл бұрын
Thank you so much - the tutorial was easy to follow and hands on. I learned a lot from this course.
@skoyah
@skoyah 6 жыл бұрын
Hey there! I really enjoyed your PDO Crash course! I was struggling in moving from mysqli to PDO because I was having a hard time understanding the foundations of PDO. You talked on the video about making a more advanced "course" on the subject. Will you do it? I really would like to learn and see you using more advanced PDO features on a website. perhaps something related to a simple CMS with a user authentication, sort posts by name/asc/desc, etc. .... I totally connected with your video on self-doubt, since i did not finished my marine biology degree and got myself lost for 6-7 years. Now at age 31, I discovered this new passion about web dev and web design and for the past 5 months I've been learning CSS , HTML5, PHP and jQUERY. Keep up the awesome work mate!
@luancosta7256
@luancosta7256 6 жыл бұрын
Thanks a lot, I'll watch it as soon as I get home
@sadegh9614
@sadegh9614 5 жыл бұрын
Perfect and simple , thank you !
@sirhaagen6959
@sirhaagen6959 Жыл бұрын
Brilliant course, thank you very much!!
@aphiwatchawilai7205
@aphiwatchawilai7205 6 жыл бұрын
PATRON 2$ done! this is helpful easy to understand,clear voice nice content
@TraversyMedia
@TraversyMedia 6 жыл бұрын
Thank you sir
@imrankhansamir4901
@imrankhansamir4901 5 жыл бұрын
Thanks, Brad for your useful tutorial. We like to know more about advance PDO MySQL functions.
@nikolanedialkov8367
@nikolanedialkov8367 6 жыл бұрын
Great video, good explanation. Please continue the PHP series :)
@brandonwaggonertech
@brandonwaggonertech 8 ай бұрын
This is fantastic. You're a great instructor.
@avrahamyerachmielbenzvi3654
@avrahamyerachmielbenzvi3654 2 жыл бұрын
your vids are the BEST. Thanks
@diyfather
@diyfather 2 жыл бұрын
Awesome, realy easy to understand. this helps me a lot in 2022.
@maciejc3169
@maciejc3169 6 жыл бұрын
As you can see Brad, here is a lot of demand for PHP courses ;) Thanks for this one :)
@srinivasaraoyp3640
@srinivasaraoyp3640 10 ай бұрын
It contains very useful information on how to connect and retrieve data, etc , thank you.
@amasnur79
@amasnur79 4 жыл бұрын
Tied up some loose ends that I have. Thank you very much!
@bonguthandokhumalo7552
@bonguthandokhumalo7552 2 жыл бұрын
All your videos are so informative, great tutorial man... thanks a lot.
@osmanrasooli7555
@osmanrasooli7555 4 жыл бұрын
Thank you very much Sir. I really appreciate your teaching. Keep uploading more videos and God bless you.
@clemensphilipse901
@clemensphilipse901 6 жыл бұрын
Very interesting video, helped me quite a bit with a school project. Thanks!
@Booleys
@Booleys 4 жыл бұрын
Thank you so much. Very very well explained! It helped me a lot.
@AliRahemi
@AliRahemi 4 жыл бұрын
Hey Brad! I love you man. You are fantastic. I have down with front to back series. Nowadays I am busy with your OOP MVC course from UDEMY. Thanks a bunch
@bugraates478
@bugraates478 3 жыл бұрын
Your videos are like a book. I like this way. I am feeling like that I learned actually strong valuable informations. Thank you
@BravoSexGoingDark
@BravoSexGoingDark 4 жыл бұрын
Thank you for your great work, buddy!
@wesleypereiradasilveira6049
@wesleypereiradasilveira6049 4 жыл бұрын
Thank you. it was a good overview of PDO.
@cervantes01
@cervantes01 6 жыл бұрын
Hi Brad, great video, please continue the PHP front to back series. Thank you in advance :)
@switluvsangel
@switluvsangel 5 жыл бұрын
This is awesome, very good job, thanks a lot. i look forward to more videos from you.
@DesaiRamesh
@DesaiRamesh 5 жыл бұрын
Your crash course is better than course with many parts
@lahikahmed9253
@lahikahmed9253 6 ай бұрын
I was in my assignments where I want to develop a web application development and I finished developing the front end and for backend I was lacking knowing about PDO. this video helped me far through for my assignment. It's insane knowing a mentor's vid from 6 years ago helped my assignment now. Thank you sir god bless you❤🙏
@ectoplasm1285
@ectoplasm1285 6 жыл бұрын
thanks for this one, just in time as i need it
@tobban120
@tobban120 6 жыл бұрын
Thank you, you saved my project :D
@hirephpdevelopers3840
@hirephpdevelopers3840 6 жыл бұрын
Thank you. I have learned a lot from this video.
@perfect.stealth
@perfect.stealth 6 жыл бұрын
Very helpful! Thanks alot!
@guardiansofdrumandbass4957
@guardiansofdrumandbass4957 2 жыл бұрын
super cool video help me a lot to understand PDO more
@alexbroder4677
@alexbroder4677 4 жыл бұрын
man this is an awesome tutorial! please make more :)
NPM Crash Course
42:03
Traversy Media
Рет қаралды 318 М.
What does MySQLi vs PDO Teach You about Development?
13:19
Stefan Mischook
Рет қаралды 11 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 6 МЛН
The joker's house has been invaded by a pseudo-human#joker #shorts
00:39
Untitled Joker
Рет қаралды 3,4 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 61 МЛН
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
lofi hip hop radio 📚 - beats to relax/study to
Lofi Girl
Рет қаралды 27 М.
JSON Crash Course
24:49
Traversy Media
Рет қаралды 1 МЛН
JavaScript OOP Crash Course (ES5 & ES6)
40:21
Traversy Media
Рет қаралды 582 М.
Installing MySQL and Creating Databases | MySQL for Beginners
12:04
Alex The Analyst
Рет қаралды 250 М.
Filtering and Sorting with PDO and MySQL
21:41
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 4,8 М.
HTMX Crash Course | Dynamic Pages Without Writing Any JavaScript
56:47
Traversy Media
Рет қаралды 136 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,8 МЛН
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 1,2 МЛН
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 3,5 МЛН
iOS 18 vs Samsung, Xiaomi,Tecno, Android
0:54
AndroHack
Рет қаралды 81 М.