Create & Test MySQL Database
Create a Simple Poll
PHP and MySQL make creating interactive websites easier than ever before. Here is a simple form and processing script which you can modify and use to poll your visitors.
Create the database through your PHPMySQL Admin Panel or modify the birthday scripts to create a table with the 3 fields: color, code and number
This PHP script can be used to parse forms that use checkboxes for multiple selections like the one on the left. A sample form using radio buttons is provided below.
The bolded portion of the code loops through your user's selections, if there are more than one, and adds 1 to the selected field.
Note: form is not active.
What's your favorite color?
This script is out dated and has been removed from site!!
To extend your knowledge of MySQL study the Docs and Tutorials at the official MySQL website. MYSQL.com