In making an array:
I have 7 checkboxes, which make up the array information. I currently use implode to make the array, however that array only consists of the information that it checked.
What I need to do now is make it so the array will always be 7 items, but if there isnt a checkbox for the item, I want inserted to be a 0.
Example
item1[x]
item2[x]
item3[ ]
item4[x]
item5[ ]
item6[x]
item7[ ]
would return = 1,2,0,4,0,6,0
instead of what it does now. 1,2,4,6
Ideas...