I have the following JSON string:
[{\"index\":0,\"date\":\" 20120030\",\"title\":\"afsa\"}]
And I need to get out the contents into a variable foreach one.
This is how it is picked up so far...
$json_data_string = $_POST['hidden_event']; // sanitize however
$array_data = json_decode($json_data_string);
echo $json_data_string;
I need to be able to echo each out. for example:
foreach {
echo $date;
echo $title;
}
Thanks in advance for any help.