I am trying to add 2 Strings like this:
$response = array();
$target_dir = "uploads/";
$public_key = "f1vlje6378uh6ucok8sda1exo5lmbu";
$target_dir .= $public_key."/";
$response["target_dir created"] = $target_dir;
echo json_encode($response);
"target_dir created": "uploads
\/
f1vlje6378uh6ucok8sda1exo5lmbu\/
"
Any ideas why this "\/"
appear and not just "/"
?