PDO Crash Course (PHP)

Ғылым және технология

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
    @vertvaliante15714 жыл бұрын

    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

    8 ай бұрын

    still hired?

  • @mrgenetics4063

    @mrgenetics4063

    4 ай бұрын

    @@lassregnen5790he’s too busy making big money to care about anyone but himself Stop asking

  • @shakilnadim
    @shakilnadim5 жыл бұрын

    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

  • @jwf3148
    @jwf31483 жыл бұрын

    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 !!!

  • @FinnishPanther
    @FinnishPanther5 жыл бұрын

    This was probably the best PHP KZread course I've ever watched; very well done!

  • @anciao_dev
    @anciao_dev6 жыл бұрын

    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.

  • @odunladeoluwaseun7880
    @odunladeoluwaseun78806 жыл бұрын

    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

  • @khanlakhno2757
    @khanlakhno27576 жыл бұрын

    This lesson is what I was looking for my entire life!

  • @nicolashuve3558
    @nicolashuve35585 жыл бұрын

    You're my very first tutorial learning PHP and I was able to follow along with no pb. Please do more!

  • @james-ryanstampley7583
    @james-ryanstampley75836 жыл бұрын

    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!

  • @marleenloohuis2111
    @marleenloohuis21114 жыл бұрын

    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!

  • @payskin
    @payskin6 жыл бұрын

    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)

  • @mikepecha3818
    @mikepecha38185 жыл бұрын

    legendary tutorial. Fast pace, yet well explained. Thank you

  • @shaun_rambaran
    @shaun_rambaran6 жыл бұрын

    This was thorough and very well explained. Thanks a lot, man.

  • @noapplicablelabel
    @noapplicablelabel5 жыл бұрын

    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!

  • @bigollie006
    @bigollie0066 жыл бұрын

    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.

  • @iamspencerx
    @iamspencerx6 жыл бұрын

    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
    @shivaprakasha8415 жыл бұрын

    this is gold!!!... i m doing a phase shift from mysql to PDO Programming !!! thanks for the smooth journey !!!

  • @shreyasikhar1044
    @shreyasikhar10443 жыл бұрын

    Finally, the video that I was searching for months, maybe the best tutorial for PDO, really liked it

  • @shafanm
    @shafanm6 жыл бұрын

    Thank you for investing the time and effort in making this tutorial.

  • @kevineriksson818
    @kevineriksson8186 жыл бұрын

    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

  • @wespassick8369
    @wespassick83695 жыл бұрын

    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.

  • @Avenger99
    @Avenger995 жыл бұрын

    Thank you so much. I adore your content, by far my favorite code genius out there.

  • @cee-jaybenkino555
    @cee-jaybenkino5556 жыл бұрын

    Yes, we need more advanced stuff with php. Thank you, Brad.

  • @mohammedadel001
    @mohammedadel0016 жыл бұрын

    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

  • @jaydee3807
    @jaydee38076 жыл бұрын

    The best explanation on KZread for PDO you will find, very clever and a no nonsense approach.

  • @busyrand
    @busyrand6 жыл бұрын

    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

  • @patriciastone7739
    @patriciastone77393 жыл бұрын

    This is an excellent video, thank you Brad. This is exactly what I needed to understand how to use PDO in my PHP programs.

  • @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!

  • @OllieBeeCookswithKnives
    @OllieBeeCookswithKnives3 жыл бұрын

    You honestly save my butt here - thanks a lot for posting this!

  • @papaOhmTV
    @papaOhmTV6 жыл бұрын

    Many thanks to your videos, I'm really learning a lot... Please do keep it up!

  • @argeelearner3978
    @argeelearner39786 жыл бұрын

    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.

  • @asfandyar687
    @asfandyar6875 жыл бұрын

    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!

  • @xforkhandlesx
    @xforkhandlesx4 жыл бұрын

    Thank you very much, i have been struggling with this for a while, i like your delivery and examples.

  • @skoyah
    @skoyah6 жыл бұрын

    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!

  • @vamshidureddy1323
    @vamshidureddy13235 жыл бұрын

    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

  • @frankpacheco8843
    @frankpacheco88436 жыл бұрын

    Please continue with the PHP back to back. I found it very helpful.

  • @nunagames
    @nunagames5 жыл бұрын

    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

  • @norbertotrosman7271
    @norbertotrosman72716 жыл бұрын

    Excelent. Thank you for this video. Continue the PHP series, please.

  • @joseluisbeltramone599
    @joseluisbeltramone5994 жыл бұрын

    I loved and appreciated your video a lot. Excellent summary, clear explanation and straight to the point. Thank you very much!

  • @xoxoo4877
    @xoxoo48774 жыл бұрын

    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

  • @rimantasdanilevicius6754
    @rimantasdanilevicius67545 жыл бұрын

    So far the best tutorial regarding this topic.

  • @MrForund
    @MrForund6 жыл бұрын

    Thank you, Brad! We would appreciate some more PDO videos

  • @parthbhodia9575
    @parthbhodia95755 жыл бұрын

    Good job mate, truly appreciate your tutorials. Thanks again.

  • @makadibalazs
    @makadibalazs4 жыл бұрын

    Thank you for this Brad! Really helped me.

  • @livesoko
    @livesoko6 жыл бұрын

    This was very easy to understand and follow, thanks a lot

  • @ahmetozdemir2207
    @ahmetozdemir22076 жыл бұрын

    Awesome work as always! I didn't know that positional params. Great job!

  • @kathybartholomew5870
    @kathybartholomew58704 жыл бұрын

    Thanks so much! Wonderful class! Would love more PHP, PDO, and MVC!

  • @abdelazizserbouti6069
    @abdelazizserbouti60696 жыл бұрын

    Great and thanx finally PDO

  • @himanshunahak5105
    @himanshunahak51055 жыл бұрын

    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!

  • @imrankhansamir4901
    @imrankhansamir49016 жыл бұрын

    Thanks, Brad for your useful tutorial. We like to know more about advance PDO MySQL functions.

  • @canerdemircigm
    @canerdemircigm5 жыл бұрын

    A topic couldn't teach better than this. Thank you very much.

  • @ernestassimutis6239
    @ernestassimutis62396 жыл бұрын

    Please more php, very appreciate what you do for all of us !

  • @aphiwatchawilai7205
    @aphiwatchawilai72056 жыл бұрын

    PATRON 2$ done! this is helpful easy to understand,clear voice nice content

  • @TraversyMedia

    @TraversyMedia

    6 жыл бұрын

    Thank you sir

  • @greendragon0009
    @greendragon00092 жыл бұрын

    Brad you always come through for me when I need to know. Thanks buddy. Merry Christmas. :)

  • @matthiasdreyer5402
    @matthiasdreyer54026 жыл бұрын

    Enjoying your toutorials vey much. Big thumbs up. Please continue your php series.

  • @maciejc3169
    @maciejc31696 жыл бұрын

    As you can see Brad, here is a lot of demand for PHP courses ;) Thanks for this one :)

  • @informatiquedz9800
    @informatiquedz98006 жыл бұрын

    Good one, Please continue PHP front to back ;)

  • @electricow1
    @electricow14 ай бұрын

    This channel deserves more exposure to the audience. You're one among the best education channels!

  • @user-ry4px1tk4q
    @user-ry4px1tk4q2 жыл бұрын

    Is very great course PDO, I never meet like this course in all KZread, your method to explain is very easy and professional. Thank you very much ❤❤❤

  • @mdksecrets
    @mdksecrets6 жыл бұрын

    What a great help, thanks! finally i can now start with PDO.

  • @BambanzaJ2
    @BambanzaJ26 жыл бұрын

    Hey Brad! First things first, thanks for all these video tutorials you keep pumping out. I got a request/challenge for you: Do you think you could do video tutorials covering JavaFX and Java EE?

  • @JesusHilarioH
    @JesusHilarioH6 жыл бұрын

    Thanks a lot. Very thorough explanation of each CRUD statement. Thanks again

  • @odunladeoluwaseun7880
    @odunladeoluwaseun78806 жыл бұрын

    you are always on point. you know how to simplify things. thank you my programming hero. please can you teach how to make crud using Php oop, pdo and ajax? I am really looking forward to it.

  • @cervantes01
    @cervantes016 жыл бұрын

    Hi Brad, great video, please continue the PHP front to back series. Thank you in advance :)

  • @jenisrai1699
    @jenisrai16994 жыл бұрын

    Thank You! Came here after taking udemy MVC course which recommends this course as prerequisite.

  • @Nazmul920
    @Nazmul9206 жыл бұрын

    Surely waiting for all the advanced parts!

  • @AliRahemi
    @AliRahemi4 жыл бұрын

    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

  • @nikolanedialkov8367
    @nikolanedialkov83676 жыл бұрын

    Great video, good explanation. Please continue the PHP series :)

  • @jamesgreester
    @jamesgreester6 жыл бұрын

    Traversy Media you are awesome. Thank you everyday.

  • @TraversyMedia

    @TraversyMedia

    6 жыл бұрын

    You're very welcome

  • @CorporalPoon
    @CorporalPoon6 жыл бұрын

    Don't think I could have asked for a better tutorial. thanks a bunch

  • @techgalaxy100
    @techgalaxy1004 жыл бұрын

    When it comes from Traversy it has to be good. Very well explained. Plz make more like these. In fact make a small project kind of tutorial like you did in html n css. Plz.

  • @YooLookMarvelous
    @YooLookMarvelous6 жыл бұрын

    Thanks for the starter PDO course.. look forward to more.

  • @kim66003
    @kim660035 жыл бұрын

    This helped me so much! Please do a more advanced tutorial on PDO too !!

  • @danielf535

    @danielf535

    4 жыл бұрын

    He has a PHP MVC course on Udemy that I can recommend

  • @sadegh9614
    @sadegh96145 жыл бұрын

    Perfect and simple , thank you !

  • @kishankewal858
    @kishankewal8585 жыл бұрын

    Finally a very good tutorial. guys if you really want to learn PDO than this video is good for you

  • @robertbourton7800
    @robertbourton78004 ай бұрын

    Clean Language, content is very clear and you go over everything. subscribed!

  • @lorenzolazarus925
    @lorenzolazarus9254 жыл бұрын

    Thanks, it seems very useful! This will help me learn PHP. PHP seems like if it isn't basic it jumps straight to expert from other videos and searching. looking to use classes

  • @Booleys
    @Booleys4 жыл бұрын

    Thank you so much. Very very well explained! It helped me a lot.

  • @indian-js1xq
    @indian-js1xq6 жыл бұрын

    Hi sir I learn lots of good stuff from you I really thankful to you I really want to know about how to live stream on website

  • @clemensphilipse901
    @clemensphilipse9016 жыл бұрын

    Very interesting video, helped me quite a bit with a school project. Thanks!

  • @lahikahmed9253
    @lahikahmed92537 ай бұрын

    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❤🙏

  • @switluvsangel
    @switluvsangel5 жыл бұрын

    This is awesome, very good job, thanks a lot. i look forward to more videos from you.

  • @bonguthandokhumalo7552
    @bonguthandokhumalo75522 жыл бұрын

    All your videos are so informative, great tutorial man... thanks a lot.

  • @shahipapon833
    @shahipapon8333 жыл бұрын

    Before this I have spent lot of time.But I here u clear all my doubt. Thanks a lot ❤❤❤

  • @osmanrasooli7555
    @osmanrasooli75555 жыл бұрын

    Thank you very much Sir. I really appreciate your teaching. Keep uploading more videos and God bless you.

  • @bugraates478
    @bugraates4783 жыл бұрын

    Your videos are like a book. I like this way. I am feeling like that I learned actually strong valuable informations. Thank you

  • @iclusterdev2870
    @iclusterdev28706 жыл бұрын

    Hi Brad, thanks a lot for this video. If you find the time to complete PHP front to back it would be great. I'm learning a lot from it.

  • @DincerHoca
    @DincerHoca6 жыл бұрын

    Thanks for the video. I loved it even if I already knew the subject.

  • @TraversyMedia

    @TraversyMedia

    6 жыл бұрын

    You're very welcome

  • @DerrickAbucheri

    @DerrickAbucheri

    6 жыл бұрын

    Hello, check out sample project i did with PDO here ->kzread.info/dash/bejne/dZOius2rf8yfeco.html

  • @amasnur79
    @amasnur794 жыл бұрын

    Tied up some loose ends that I have. Thank you very much!

  • @miodragjovanovic7845
    @miodragjovanovic78453 жыл бұрын

    Best PDO for beginners 👏 Thank you!

  • @GeekMustHave
    @GeekMustHave4 жыл бұрын

    The Magic between Python and MySQL exists in the video. A wonderful introduction on how to connect the two of these popular items. As usual a great presentation. The calm, confident voice conveniences me, that even I can do this. Keep broadcasting!!

  • @shera2667

    @shera2667

    4 жыл бұрын

    can you explain a bit? I mean I couldn't understand how python is connected with MySQL?

  • @mawwaangry1030

    @mawwaangry1030

    3 жыл бұрын

    Free Seo Tools mangools.com#a5f5dbb8cfeebf848eab1b2ff

  • @perfect.stealth
    @perfect.stealth6 жыл бұрын

    Very helpful! Thanks alot!

  • @usualjyn
    @usualjyn Жыл бұрын

    Thank you so much - the tutorial was easy to follow and hands on. I learned a lot from this course.

  • @BravoSexGoingDark
    @BravoSexGoingDark4 жыл бұрын

    Thank you for your great work, buddy!

  • @kirilldakhnyuk2001
    @kirilldakhnyuk20016 жыл бұрын

    Very helpful tutorial, thanks :)

  • @ectoplasm1285
    @ectoplasm12856 жыл бұрын

    thanks for this one, just in time as i need it

  • @brandonwaggonertech
    @brandonwaggonertech9 ай бұрын

    This is fantastic. You're a great instructor.

  • @gcoolt
    @gcoolt6 жыл бұрын

    Thanks for another excellent PHP video. I sent you a little one time payment for your great work.

  • @luancosta7256
    @luancosta72566 жыл бұрын

    Thanks a lot, I'll watch it as soon as I get home

  • @roy_amitav10
    @roy_amitav106 жыл бұрын

    I thought and planned about having a go at PDO a week back or so. And you uploaded this video 6 days back. Can't thank you enough man! Just that, you probably should have touched down the bindParam method for Prepared statements. Nevertheless, you are love

Келесі