Prepared Database Queries, PHP Classes




CS174

Chris Pollett

Mar 8, 2017

Outline

Connecting to a database from PHP

Connecting to a database from PHP

Selecting a Database and queries

Accessing More Advanced Features of Mysql

Other Database Interfaces in PHP

Some Quick Remarks on Database Design

Example

Let's Build Something

Classes in PHP