Inside an AJAX call, there is the following php code:
$jsonOutput =
"{
id: \"0\",
name: \"dauerreservierung\",
startDate: new Date('".date("Y-m-d", strtotime('-100 year',
$today))."'),
endDate: new Date('".date("Y-m-d", strtotime('+20 year',
$today))."'),
\"color\": \"#FF0000\",
}";
I really have problems following this syntax. What are all those slashes doing there? Why are the " connected to the slashes? And: Is an associative array created here?