Arghh! I can't get it to work.
Here is a step by step process of what I did:
1. Set up a new database called '[Username]_webpoll'
2. Opened phpmyAdmin
3. Opened 'webpoll' made a database called 'poll'
4. I Inserted the following data (Was a little confused as to where I should add my poll-category names):
5. Created a Php document called 'poll.php'
6. Inserted the coding you supplied earlier and edited '<?php $conn = new mysqli('XXXXXXXX' , 'XXXXXX' , 'XXXXXX , 'webpoll'); ?>'
7. Opened my Html Document and inserted '<?php include ('poll.php'); ?>' but nothing happened.
May find a solution to this, still playing around.