Some more from the dredges

Pulled these examples and snippets out of cold storage. Updated a few of
them and tested them on a local Xampp instance.

Contains things such as database queries, cookies, and sessions.