I\'m having problems sending a JSON jQuery array via Ajax to a PHP script. What is the problem here:
var tee = $(\'#voting_image img\').attr(\'id\'); var vote =
I think the problem is that you send data as object, try to send as array var thing = {tee: tee, vote: vote}; to array
var thing = {tee: tee, vote: vote};