[eluser]towki[/eluser]
[quote author="LuckyFella73" date="1349970626"]
Quote:thanks for the reply but i dont think of using radio buttons since i’ll be selecting multiple values.
What I meant was 2 radio buttons ("yes" and "no") for each (instead of) checkbox.
It's just because I don't like to do if statements is not nessecary
And I like
to have meaningful values in my database.
I don't know how many checkboxes you are going to set up. If you have maaaany and
you do it looping through a checkbox array it's a bit more tricky when it comes to
saving the values into database - get the right value into the related column.
Using the radio button solution the names of the radio buttons would (should) match the
column names in db - that way it's easier when it comes to save the values.[/quote]
I got the idea now, but checkboxes I think would be the most appropriate. There are I think at least 20 values ( which im referring to the name of crimes or offenses committed). Wouldnt be nice to just check the type of crimes committed? If only i could use radio buttons, I think it would be more easy.