Back to DFS's Workshop Page
Back to Agenda Page
Addition and Multiplication Charts Problem
For this problem, you are to cannibalize any available code and write a trio of scripts to generate addition and multiplication charts in any base from 2 to 36, inclusive. Your scripts are to do the following.
- The HTML Page: addmultchart.html
- Ask the user for the base for which he would like an addition or multiplication chart
- Accept input in a form
- Using the Create Addition Chart and Create Multiplication Chart buttons, send the data to PHP scripts called addchart.php and multchart.php
- The PHP Scripts: addchart.php and multchart.php
- Check the value to ensure it is within range
- Create a table which is either the addition or multiplication chart for the requested base; any letters used as digits should be capitals
To see how this could work, view this possible solution.
© 20052008 DFStermole
Created 15 Dec 05
Last Modified 6 Jan 08