Revamp database, added new table 'options'. Updated model, controller and polls_all view to create/display polls with new database setup. Create Poll form works.
Trying to get options for each poll to display. Things are not working, committing because it is the end of hour 3. Need to head in to the Dojo soon to start working.
Add changes discussed in Code Review with John
Radio buttons now display correctly! However, the add_poll form is no longer working.
update config.php so that default index page is 'polls_all.php'.
Form to add a poll is working correctly. Refactored create_poll, made another helper function create_poll_options.
refactored get_all_polls in Poll_model.php. Fixed 'cancel' button on form to add poll, to go to the base_url instead of index.php
refactor of create_poll and create_option in Poll_model.php; method chaining to reduce lines of code. This marks the 4-hour point.