I have this form:
<form action="" method="post">
<input type="checkbox" name="a" value="2" />
<input type="checkbox" name="b" value="4" />
<input type="submit" name="submit" value="Submit" />
</form>
What i need, when checkbox/es is/are selected and submit button is pressed to calculate value
- if this value is more or equivalent - query
- if this value is less - error message
Value is checked from column name points
Thank you.