Posted by plato on 09/20/05 15:55
I think this is more php than sql.
I want to create a form which has a check box which adds entries to a
database e.g. value= course_1 and also on the form is a number denoting
places available e.g. value = places_1
e.g.
<check box> Course 1 (There are 11 places available)
each time a form with a course selected is submitted the next time the form
is accessed it reduces the places available by 1 until it reaches 0 when an
error message is returned.
Can someone give me an idea of the script I can use to practice this?
thanks
plato
Navigation:
[Reply to this message]
|