Hello everyone, I ran into a problem with my AJAX request that passes to the ID handler:
<input type="checkbox" onclick="dels('.$reblogs['blog_id'].');"> This ID needs to be written to an array. And there are a lot of such input.
function dels(id) { $.ajax({ type: 'POST', url: '/ajax/test5.php', data: { test: id }, success: function(data) { var x = id; $('.results152d').html(data); } }) } Here, actually, AJAX. I can not understand how it is possible to add an array. Prompt, it transfers one parameter, but it is different $_POST['test']