I want to create a simple score-card program to calculate the score, and then show the result relating to that score.
Program look like this:
1. How old are you ?
a. < 18 (15 points)
b. 18 - 25 (20 p)
c. 26 - 40 (22p)
d. >40 (12p)
2. Your income ?
a. <10.000 (20p)
b. 11000 - 22000 (25p)
c. 25000 - 40000 (26p)
d. >40.000
........
Every answer is using choice box. When users click finish Button, it will calculate the points and show the result, such as:
10-20p : you are ....
20-25p: ......
25-35p:....
Should we use purebasic or use PHP ??
simple score-card program
simple score-card program
TitaniumT
A bit controversial, asking whether to use Purebasic or PHP!
I would recommend using PHP, because to write a form, it's much simpler than making a windows executable. I won't post any code in the PB forum, but all you need to do is to create a form, and then submit it to a basic checking script. It should be very simple.
TheTeapot
I would recommend using PHP, because to write a form, it's much simpler than making a windows executable. I won't post any code in the PB forum, but all you need to do is to create a form, and then submit it to a basic checking script. It should be very simple.
TheTeapot
Using PB 3.94 demo AND PROUD OF IT!!
*Goes back to little hole*
*Goes back to little hole*
-
- Addict
- Posts: 841
- Joined: Mon Jun 07, 2004 7:10 pm