I have a problem with php and checkbox. Can someone
help me with it?
I want to be able to compute values of a checkbox that is when the
checkboxes are checked using php.
example
<input type="checkbox" name="course" value="¢30 /> JAVA
<input type="checkbox" name="course" value="¢100 /> C
<input type="checkbox" name="course" value="¢10 /> PERL
<input type="checkbox" name="course" value="¢200 /> C++
<input type="checkbox" name="course" value="¢70 /> PHP
<input type="checkbox" name="course" value="¢90 /> C#
so in that case when i check C, JAVA and PHP,
the php code should be able to compute the values in cedis for me
as a user and given a summary of the course chosen and also
the total amount involved with each course chosen.
so that i have say
This is a summary of the courses registered for
JAVA 30
C 100
PHP 70
and the total amount to be paid is 200.
So what i want is the php code to help me do that.