"Content is king" goes the old web adage, confirming that keeping your site up to date is the best way to attract people to visit. However, how can you tell whether your content is what your visitors want? Using an online poll you can give your visitors the chance to pick one of several answers to a question you pose, then watch the results roll in.
Creating a poll is about as easy as it comes when you are talking about database projects, which is why we're starting here. In order to keep the required skill level low, we're going to be creating two types of poll - one easy, one harder, and one even harder. Read on!
Want to learn PHP 7?
Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!
If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!
Next chapter: Analysis: what makes a web poll? >>
Previous chapter: Practical PHP
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.