Getting all selected checkboxes in an array
So I have these checkboxes: <input type=”checkbox” name=”type” value=”4″ /> <input type=”checkbox” name=”type” value=”3″ /> <input type=”checkbox” name=”type” value=”1″ /> <input type=”checkbox” name=”type” value=”5″ /> And so on. There are about 6 of them and are hand-coded (i.e not fetched from a db) so they are likely to remain the same for a while. My … Read more