You get a value from a posted form element by using request.form(element_name)
With checkboxes, if the box isn't checked, nothing gets sent through.
So you'd do:
if request.form("chk_sun") = "Sunday" then
' do database stuff
If you're not familiar with this then I'd suggest you start with some simple ASP tutorials - http://www.w3schools.com/asp
- because if you don't know how to get values out of a form, you're going to find connecting to a database and running SQL statements against it a whole world of complicated.