I have this check box and the value comes from the db and i want when i submit the form to calculate the days i have choosed plzzz help ...
ok like this <input type=checkbox name=num1 value=1 /> <input type=checkbox name=num2 value=2/> <input type="submit" value=calculate /> but instead of its static values no it comes from the database to calculate this values echo "<input type='checkbox' name='choose' />".$days;