I have a static HTML form with several checkboxes. I need to gather the "if checked" values of those boxes and insert the results into a SQL "SELECT FROM table WHERE" query.
I can gather the checkbox results but since any number of boxes can be checked I have not been able to get the results into the format --- WHERE column name ='some name',column name ='some data' etc, etc,; In other words I want to give the form user the ability to search a table in a variety of ways.
Any help will be greatly appreciate!
I can gather the checkbox results but since any number of boxes can be checked I have not been able to get the results into the format --- WHERE column name ='some name',column name ='some data' etc, etc,; In other words I want to give the form user the ability to search a table in a variety of ways.
Any help will be greatly appreciate!