A port of the Fig Quick Start example to PHP and MySQL