exercises from the phpmysqljavascriptandhtml5 book