Day 11. Using PHP

Today's lesson introduces you to PHP, a server-side scripting language that can be embedded into HTML pages to create dynamic Web sites.

PHP is a powerful language: You can use it together with MySQL as the foundation for a sophisticated database-driven Web site. Today's lesson introduces you to the language and shows you how to use it with MySQL.

Today, you will learn the following:

  • PHP's principles of operation

  • How to embed PHP within HTML files on a Web server

  • An overview of the PHP language

  • How to use PHP to interact with a MySQL database, including making a database connection, running queries, processing the results of queries, and handling errors

Get Sams Teach Yourself MySQL in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.