echo json_encode(['msg' => 'Успешно']);
$.ajax({
method: "POST",
url: "/server.php",
data: {
user: user,
title: title
},
success: function(msg){$('div.AddCoreResult').html("<h1 class='SystemGood'>"+msg.msg+"</h1>");}
});