CST463 · S7 CSE

Module 4 — PHP, MySQL and Sessions

Reference material for this module, arranged in teaching order. These are the resources used when this module was taught; the classroom posts for the current cohort go up as we cover it. Every link below is public — follow it directly.

Open the classroom → Back to CST463 hub

Reference material for this module

Advanced PHP form processing, cookies, sessions, MySQL integration, CRUD operations and dynamic content.

Form processing on the server

  1. PHP Form Processing
  2. Submit button vs normal button, div vs span

Remembering the user — cookies and sessions

  1. PHP Cookie and Session Management
  2. Post/Redirect/Get — avoiding the double submit

Objects and errors — what PDO is built on

  1. PHP OOP and exceptions

Talking to MySQL from PHP

  1. PHP — MySQL
  2. PDO — error modes and the statement class
  3. CRUD — the worked student example