I don't know how a checkbox can be 3 dimension..But if u want to submit it to the database..then
if($variablename=='ON')
where variablename.is the name of the checkbox and ON is its value..so if the statement is true..then checkbox is selected.
bye
sandy