PDO Crash Course (PHP)

39
10



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:

CODE: All code is in this GitHub Gist

BECOME A PATRON: Show support & get perks!

ONE TIME DONATIONS:

COURSES & MORE INFO:

FOLLOW TRAVERSY MEDIA:

NEED WEB HOSTING?

NEW DISCORD CHAT SERVER:

Nguồn: xemhai.org

Xem thêm bài viết khác: https://xemhai.org/game/

39 COMMENTS

  1. 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.

  2. If any of you get #1030 – Got error 176 “Read page with wrong checksum” from storage engine Aria try this : https://stackoverflow.com/questions/60864367/1030-got-error-176-read-page-with-wrong-checksum-from-storage-engine-aria

  3. Sorry this is just with regards to my previous question. I noticed that you use Windows. Could it be that because I am using Linux I am not seeing a .dll extension?

  4. Awesome to make this tutorial mate. I have watched a lot of your tutorials. I do have a question thow. I have PHP 7.2 installed and in php.ini all my extension lines e.g. extension=php_pdo_pgsql do not have .dll behind them. Is there something missing in my installation or will this still work?

  5. Thanks a lot. How can we handle video streaming & buffering in PHP? My second question might be funny, but can we use both php & node for the backend in a project?

  6. I'm trying to do this exact thing but I keep getting the access denied error, I've checked everything possible, the credentials are right, the server and database names are right, all the privileges for the database user are granted but I keep getting the same error.

  7. Truly awesome video! I like the approach of keeping it all in a single file for training purposes. I did run across one issue, so I'll post here just in case it helps someone… @33:01 in the video, line 65 of the code table name should be posts not POSTS (this generated error for me "Fatal error: Call to a member function execute() on boolean in…)

  8. 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

  9. 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.

  10. 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

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

  12. I dont know how to thank you enough for this. Is it possible to use this for Stored procedures? This would be easier as it gets cached,

  13. 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.

  14. Thanks man, really help me a lot; if you don't mind, would be great a complete PDO tutorial, for example create insert, update, delete a product with forms, including validations and best practices programming PDO. Thanks again.

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

  16. Could you please do a tutorial of fetching items based on slected filters ir html Select or Location/Age etc. Or picture type. Using PDO, would be very helpful. if you could.. Thanks for all your tutorials so far, very useful..

LEAVE A REPLY

Please enter your comment!
Please enter your name here