Course 3: Talking to a MySQL Database in PHP
Learn all about databases in this episode of our Epic PHP series! Discover how to connect to MySQL, create tables, run queries, and avoid SQL injection attacks. With PDO in PHP, you can easily limit results and use prepared statements. Don’t miss out on this valuable learning opportunity!
What you’ll be learning
Woh, this is episode 3 of our Epic PHP series!
Yep, and this one is all about databases:
What the heck is a database anyways?
Connecting to MySQL
Creating a database and tables
INSERT queries
SELECT queries
UPDATE and DELETE queries
Using PDO in PHP to run queries
Limiting Results
Avoiding SQL Injection Attacks
Prepared Statements
Optional Function Arguments
Other episodes from this series:
Episode 1.
Episode 2.