Тёмный
No video :(

PDO Crash Course (PHP) 

Traversy Media
Подписаться 2,3 млн
Просмотров 277 тыс.
50% 1

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/...
CODE: All code is in this GitHub Gist
gist.github.co...
BECOME A PATRON: Show support & get perks!
/ traversymedia
ONE TIME DONATIONS:
www.paypal.me/t...
COURSES & MORE INFO:
www.traversymed...
FOLLOW TRAVERSY MEDIA:
/ traversymedia
/ traversymedia
/ traversymedia
NEED WEB HOSTING?
inmotion-hosti...
NEW DISCORD CHAT SERVER:
/ discord

Опубликовано:

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 380   
@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 9 месяцев назад
still hired?
@mrgenetics4063
@mrgenetics4063 5 месяцев назад
@@lassregnen5790he’s too busy making big money to care about anyone but himself Stop asking
@jaydee3807
@jaydee3807 6 лет назад
The best explanation on RU-vid for PDO you will find, very clever and a no nonsense approach.
@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
@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 !!!
@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!
@anciao_dev
@anciao_dev 6 лет назад
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.
@electricow1
@electricow1 5 месяцев назад
This channel deserves more exposure to the audience. You're one among the best education channels!
@khanlakhno2757
@khanlakhno2757 6 лет назад
This lesson is what I was looking for my entire life!
@payskin
@payskin 7 лет назад
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)
@argeelearner3978
@argeelearner3978 7 лет назад
Thanks Finally more PHP.
@TraversyMedia
@TraversyMedia 7 лет назад
I am doing a PHP MYSQL projects course for Eduonix so expect that and more PHP on the channel.
@argeelearner3978
@argeelearner3978 7 лет назад
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.
@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
@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
@james-ryanstampley7583
@james-ryanstampley7583 6 лет назад
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!
@nicolashuve3558
@nicolashuve3558 5 лет назад
You're my very first tutorial learning PHP and I was able to follow along with no pb. Please do more!
@shivaprakasha841
@shivaprakasha841 5 лет назад
this is gold!!!... i m doing a phase shift from mysql to PDO Programming !!! thanks for the smooth journey !!!
@mohammedadel001
@mohammedadel001 6 лет назад
Awesome Could you please add more advanced PDO tutorials we liked your way of explanation
@k.chriscaldwell4141
@k.chriscaldwell4141 4 года назад
I second that.
@user-sc2ov2oc8u
@user-sc2ov2oc8u 3 года назад
hhhhhhhhhhhhhhhhh
@robertbourton7800
@robertbourton7800 5 месяцев назад
Clean Language, content is very clear and you go over everything. subscribed!
@shreyasikhar1044
@shreyasikhar1044 3 года назад
Finally, the video that I was searching for months, maybe the best tutorial for PDO, really liked it
@user-ry4px1tk4q
@user-ry4px1tk4q 2 года назад
Is very great course PDO, I never meet like this course in all RU-vid, your method to explain is very easy and professional. Thank you very much ❤❤❤
@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.
@FinnishPanther
@FinnishPanther 5 лет назад
This was probably the best PHP RU-vid course I've ever watched; very well done!
@OllieBeeCookswithKnives
@OllieBeeCookswithKnives 3 года назад
You honestly save my butt here - thanks a lot for posting this!
@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
@mikepecha3818
@mikepecha3818 5 лет назад
legendary tutorial. Fast pace, yet well explained. Thank you
@frankpacheco8843
@frankpacheco8843 6 лет назад
Please continue with the PHP back to back. I found it very helpful.
@GeekMustHave
@GeekMustHave 4 года назад
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
@kishankewal858
@kishankewal858 5 лет назад
Finally a very good tutorial. guys if you really want to learn PDO than this video is good for you
@shahipapon833
@shahipapon833 3 года назад
Before this I have spent lot of time.But I here u clear all my doubt. Thanks a lot ❤❤❤
@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!
@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!
@shafanm
@shafanm 6 лет назад
Thank you for investing the time and effort in making this tutorial.
@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!
@greendragon0009
@greendragon0009 2 года назад
Brad you always come through for me when I need to know. Thanks buddy. Merry Christmas. :)
@jamesgreester
@jamesgreester 7 лет назад
Traversy Media you are awesome. Thank you everyday.
@TraversyMedia
@TraversyMedia 7 лет назад
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
@aphiwatchawilai7205
@aphiwatchawilai7205 7 лет назад
PATRON 2$ done! this is helpful easy to understand,clear voice nice content
@TraversyMedia
@TraversyMedia 7 лет назад
Thank you sir
@canerdemircigm
@canerdemircigm 5 лет назад
A topic couldn't teach better than this. Thank you very much.
@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.
@usualjyn
@usualjyn Год назад
Thank you so much - the tutorial was easy to follow and hands on. I learned a lot from this course.
@jenisrai1699
@jenisrai1699 4 года назад
Thank You! Came here after taking udemy MVC course which recommends this course as prerequisite.
@shaun_rambaran
@shaun_rambaran 6 лет назад
This was thorough and very well explained. Thanks a lot, man.
@wespassick8369
@wespassick8369 5 лет назад
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.
@rimantasdanilevicius6754
@rimantasdanilevicius6754 5 лет назад
So far the best tutorial regarding this topic.
@srinivasaraoyp3640
@srinivasaraoyp3640 Год назад
It contains very useful information on how to connect and retrieve data, etc , thank you.
@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
@cee-jaybenkino555
@cee-jaybenkino555 7 лет назад
Yes, we need more advanced stuff with php. Thank you, Brad.
@alnahian2003
@alnahian2003 2 года назад
Hopefully this really helps! Just completed the basic OOP in PHP and found your PHP MVC course on Udemy. Before diving in, you recommended watching this video. Thanks Brad, for your amazing tutorials
@papaOhmTV
@papaOhmTV 6 лет назад
Many thanks to your videos, I'm really learning a lot... Please do keep it up!
@lahikahmed9253
@lahikahmed9253 8 месяцев назад
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❤🙏
@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
@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!
@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
@xforkhandlesx
@xforkhandlesx 4 года назад
Thank you very much, i have been struggling with this for a while, i like your delivery and examples.
@CorporalPoon
@CorporalPoon 6 лет назад
Don't think I could have asked for a better tutorial. thanks a bunch
@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.
@matthiasdreyer5402
@matthiasdreyer5402 6 лет назад
Enjoying your toutorials vey much. Big thumbs up. Please continue your php series.
@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
@DesaiRamesh
@DesaiRamesh 5 лет назад
Your crash course is better than course with many parts
@roy_amitav10
@roy_amitav10 6 лет назад
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
@joseluisbeltramone599
@joseluisbeltramone599 5 лет назад
I loved and appreciated your video a lot. Excellent summary, clear explanation and straight to the point. Thank you very much!
@maciejc3169
@maciejc3169 7 лет назад
As you can see Brad, here is a lot of demand for PHP courses ;) Thanks for this one :)
@andideveloper8345
@andideveloper8345 6 лет назад
i think we all are waiting for an pdo advanced course!! it would be the top notch
@kim66003
@kim66003 5 лет назад
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
@techgalaxy100
@techgalaxy100 4 года назад
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.
@norbertotrosman7271
@norbertotrosman7271 6 лет назад
Excelent. Thank you for this video. Continue the PHP series, please.
@madaotee4557
@madaotee4557 2 года назад
I just came here after from php crash course 2022 then udemy oop mcv and now here who else with me
@diyfather
@diyfather 2 года назад
Awesome, realy easy to understand. this helps me a lot in 2022.
@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!
@hdevivs09
@hdevivs09 4 года назад
Another way to access the php.ini file which I prefer. Enable WSL -> install ubuntu terminal -> open it -> navigate to c:\xampp\php -> type 'nano php.ini' -> hit CTRL+W to search through 'MySQL' keyword -> look for your edit -> hit CTRL + X to save changes -> There you go! done, pretty fast huh! I love this way since I am a developer haha.
@ernestassimutis6239
@ernestassimutis6239 6 лет назад
Please more php, very appreciate what you do for all of us !
@imrankhansamir4901
@imrankhansamir4901 6 лет назад
Thanks, Brad for your useful tutorial. We like to know more about advance PDO MySQL functions.
@bonguthandokhumalo7552
@bonguthandokhumalo7552 2 года назад
All your videos are so informative, great tutorial man... thanks a lot.
@Avenger99
@Avenger99 5 лет назад
Thank you so much. I adore your content, by far my favorite code genius out there.
@marwanak10
@marwanak10 2 года назад
Brad's a gem!
@brandonwaggonertech
@brandonwaggonertech 10 месяцев назад
This is fantastic. You're a great instructor.
@slapmyfunkybass
@slapmyfunkybass 6 лет назад
Thanks buddy, greetings from the UK.
@livesoko
@livesoko 6 лет назад
This was very easy to understand and follow, thanks a lot
@srsh782
@srsh782 7 лет назад
need more advanced php course...
@santi.g
@santi.g 6 лет назад
he has one on udemy if you are willing to go there... it's titled: "object oriented php mvc"
@r3n736
@r3n736 5 лет назад
go to laracast one of the best place to learn advanced PHP
@dominikjezik303
@dominikjezik303 5 лет назад
@@r3n736 witch one serie on laracasts ?
@r3n736
@r3n736 5 лет назад
@@dominikjezik303 laracasts.com/skills/php
@miodragjovanovic7845
@miodragjovanovic7845 3 года назад
Best PDO for beginners 👏 Thank you!
@MrForund
@MrForund 6 лет назад
Thank you, Brad! We would appreciate some more PDO videos
@oussamaml4161
@oussamaml4161 5 лет назад
i got an exam trmw and as usual i didn't study anything and i need to pull a no sleeper to pass this one , thanks a lot this was helpful and short , maybe i could sleep for an hour or two now
@aliounegueye2061
@aliounegueye2061 3 года назад
Thank you very much. I' m a beginer. I' m good enough in English. anyway Imanaged to follow you
@JesusHilarioH
@JesusHilarioH 6 лет назад
Thanks a lot. Very thorough explanation of each CRUD statement. Thanks again
@luancosta7256
@luancosta7256 7 лет назад
Thanks a lot, I'll watch it as soon as I get home
@gcoolt
@gcoolt 6 лет назад
Thanks for another excellent PHP video. I sent you a little one time payment for your great work.
@mdksecrets
@mdksecrets 6 лет назад
What a great help, thanks! finally i can now start with PDO.
@nemac23
@nemac23 3 года назад
Beautifully explained thanks Brad
@henkprinsloo1743
@henkprinsloo1743 6 лет назад
dude! I could kiss you for this! thank you so much
@mawwaangry1030
@mawwaangry1030 3 года назад
Free Seo Tools mangools.com#a5f5dbb8cfeebf848eab1b2ff
@Nazmul920
@Nazmul920 7 лет назад
Surely waiting for all the advanced parts!
@codingmanx3434
@codingmanx3434 2 года назад
Thank you man. Great Work. You saved me the time of 15 * 15 min Tutorial
@lorenzolazarus925
@lorenzolazarus925 4 года назад
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
@moinsharif243
@moinsharif243 6 лет назад
I liked this video more than other pdo, so share it to my friends 😊
@cervantes01
@cervantes01 6 лет назад
Hi Brad, great video, please continue the PHP front to back series. Thank you in advance :)
@clemensphilipse901
@clemensphilipse901 6 лет назад
Very interesting video, helped me quite a bit with a school project. Thanks!
@parthbhodia9575
@parthbhodia9575 5 лет назад
Good job mate, truly appreciate your tutorials. Thanks again.
@YooLookMarvelous
@YooLookMarvelous 6 лет назад
Thanks for the starter PDO course.. look forward to more.
@ahmetozdemir2207
@ahmetozdemir2207 7 лет назад
Awesome work as always! I didn't know that positional params. Great job!
@dhakprasadupreti6249
@dhakprasadupreti6249 2 года назад
Thank your for good job. You are really good teacher for IT.
@kathybartholomew5870
@kathybartholomew5870 4 года назад
Thanks so much! Wonderful class! Would love more PHP, PDO, and MVC!
@abdelazizserbouti6069
@abdelazizserbouti6069 7 лет назад
Great and thanx finally PDO
Далее
NPM Crash Course
42:03
Просмотров 322 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 353 тыс.
OBLADAET - BARMAN
03:06
Просмотров 222 тыс.
💀СЛОМАЛ Айфон за 5 СЕКУНД😱
00:26
JavaScript OOP Crash Course (ES5 & ES6)
40:21
Просмотров 586 тыс.
PHP how to connect to MySQL database
8:50
Просмотров 14 тыс.
What Is A RESTful API? Explanation of REST & HTTP
18:38
JSON Crash Course
24:49
Просмотров 1 млн
MySQL Crash Course | Learn SQL
1:11:35
Просмотров 470 тыс.
AJAX Crash Course (Vanilla JavaScript)
1:09:43
Просмотров 721 тыс.
OBLADAET - BARMAN
03:06
Просмотров 222 тыс.