This document provides an introduction and overview of PHP and using it with PostgreSQL. It begins with an introduction to PHP as a scripting language well-suited for web development. It then covers installing PHP locally and connecting to a PostgreSQL database. The remainder of the document provides tutorials and examples on basic PHP syntax like variables, arrays, and forms as well as an example of connecting to a PostgreSQL database and querying it from within PHP code.