Finish Databases -- Object-oriented PHP




CS174

Chris Pollett

Oct 17, 2022

Outline

Selecting a Database and queries

Accessing More Advanced Features of Mysql

Other Database Interfaces in PHP

Some Quick Remarks on Database Design

Example

Quiz

Which of the following statements is true?

  1. The post redirect get pattern as presented in class uses location headers to performs redirects.
  2. SQL queries can only involve a single table, SQL++ queries can involve multiple tables.
  3. You should use the mysql_ group of functions in new PHP code that connects to a mysql database.

Classes in PHP

Constructors/Destructors

Private, Protected, Public

Static and Const

Cloning

Inheritance