Here it is a fragment of my code:
$.ajax({ url: 'ajax/ajax.feedback.php', type: 'POST', data: 'author=' + author + '&mail=' + mail + '&subject=' + subject + '&text=' + text + '&checkbox[1]=' + checkbox[1] + '&checkbox[2]=' + checkbox[2] + '&checkbox[3]=' + checkbox[3] + '&checkbox[4]=' + checkbox[4] + '&checkbox[5]=' + checkbox[5] + '&checkbox[6]=' + checkbox[6] + '&checkbox[7]=' + checkbox[7] + '&checkbox[8]=' + checkbox[8] + '&checkbox[9]=' + checkbox[9], success: ...
How to make it easier? Just send an array? (and how to read it later in php? If there are any features) In Google - it’s not clear - you need to create an object like, use json. In practice, nothing comes of it.