Lesson Code: http://www.developphp.com/video/PHP/PDO-Tutorial-Connect-Database-and-Query-Example Learn how to connect to a mysql database and …
Original source
PHP PDO Tutorial Connect Database and Query Example
close, connect, connection, database, Demo, des…, Development, Example, learn, mysql, mysql tutorial, MySQLi, PDO Tutorial, pdo vs mysqli, php pdo, script, sql, tutorial, Web
20 responses to “PHP PDO Tutorial Connect Database and Query Example”
Invalid argument supplied for foreach() the code of the video
can you do more tutorials on php PDO
i get this error
Access denied for user 'root'@'localhost' (using password: NO)
and i know im doing it right
Omg. I have been watching your videos for years. I've used xamp, mamp, wamp, lamp, and even just bought a hosting account to have access to a real online server. I have never made a mysql connection in my life. I am so hung up here. I can no longer learn any more php or evolve my web development with out using a database. I need help to defeat the gods here. I need to connect to a database. I have used a thousand examples over the years. But still no connection ever. Not once. What am I missing?
Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'
That's all I get, can anyone tell me how to fix this?
thank you
sir can i ask for how to use mysql to create database and how to connect to the web get get data to update
because i having a school thesis title "online banking system" plssss help tnx
Dr. Adam, i don't know inf you are going to get my point?? Is it possible to hard code auto-loading pages like jQuery mobile.. Loading one pages without refreshing page and when you manually refresh the page it remains the same…. just the way jQuery mobile loads…. Please conduct a video on this….. if you get solution let me know please. Am capable of auto-loading the pages but when i manually refresh the page it goes back to it's initial state….
Thank you!
Usefull serie came up just when i started using PHP PDO. AMAZING :333
hope you will continue more lessons of PDO ,,, and we will learn alot .. can u make upto login system ??
Thanks a lot again Adam. I asked you if you could make a video about this and here it is. You're the best bro!
Is one of these safer against SQL injection than the other?
WHAT ??? PDO has limitations ?? hmmmmm imagine that !!! And here come the idiot comments in 3….2….1…
Could you do a video going more in depth regarding using prepared statements and the benefits of it? I'm fairly new to PHP and am worried about the safety of my code. I heard that using prepared statements provide an extra layer of safety.
Correct me if I am wrong about this.
Digging the website update.
Great Video 🙂 Thank you for explaining the differences!
Never truly understood PDO 'till now.
Nicely explained Adam …. I love your video tutorials … You explains every line very clearly … Thumbs up for the good work 🙂
I should use MySQLi if I need a database connection. Much cleaner to me. (with a db_conx.php file)