My question is about sanitization.
Do I need to sanitize the javascript in the following situation?

I'm sending a javascript array as Json to php via ajax. The array will be manipulated in php then some of the data will be posted to mysql. 
Please note that **at no time does the user write values themselves**. The array is created based on the buttons the user clicks.

**On further reading**

Based on [Sanitize (radio buttons, checkboxes and <option>)](https://stackoverflow.com/questions/6280917/sanitize-radio-buttons-checkboxes-and-option) I'm assuming that I need to sanitize the javascript. If this is correct, **what sanitization would you recommend I do?** 

The array I'm using is a multidimensional array like Array[5][3]=2. It should only contains number values.