Intro to Databases

Topics include the following:

  • Introduction to SQL
  • Connecting to MySQL
  • MySQL Error Handling
  • Creating and Selecting a Database
  • Creating a Table
  • Inserting Data into a Database
  • Securing Query Data
  • Retrieving Data from a Database
  • Deleting Data from a Database
  • Updating Data in a Database
  • Review and Pursue


mysql_connect.php (Script 12.3)

create_table.php (Script 12.4)

add_entry.php (Script 12.6)

view_entries.php (Script 12.7)

PHP for the Web

Publisher: Peachpit Press

Author: Larry Ullman

Year: 2011


In Aliens, Ripley had a class 2 rating in the Power Loader.


Here is my power rating in PHP: