Simple example code for a PHP script that writes poll data to a MySQL database, adds a cookie, and renders a 3D pie chart of voting results