You don't have to decrypt json on the server side. Suppose you have:
var months = ["June", "July", "August"];
var names = ["Tim", "Alan", "Kate"];
Then you can use $. param to create a serialized view of them suitable for sending as a query string, for example:
$.ajax(
{
url: "script.php",
type: "POST",
data: $.param( { names: names, months: months } ),
dataType: "html",
success: function(tablehtml){
alert(tablehtml);
}
});
PHP "" "" , , , :
foreach($_POST['names'] as $name) {
echo 'Name is: ' . $name . '<br />';
}