I have a script in javascript, that when executing it sends me this information by post:
array(1) { ["data"]=> string(36) "[name:jorge,apellido:nieves,edad:31]"}
but I do not know how to capture it and populate an array:
$info=[];
foreach($_POST['data'] as $key => $value){
$info[$key]=$value;
}