[support] Unserializing Data for Use in a View
Cory Gilliam
imaaxa at gmail.com
Fri Sep 3 01:30:15 UTC 2010
The data you are trying to get is inside an array that is inside an array.
Array(
[kit_id] => 570
[module] => uc_product_kit
[attributes] => Array(
[Attending] => Array(
[0] => Jane Doe, John Doe
)
[Note] => Array(
[0] => We are friends of Eric Smith and Sandy Smith
)
)
[shippable] => 0
[unique_id] => 4c7d632a8090c7.95333579
)
You need to add the name of the array that this array is in.
$data = unserialize($output);
print $data['attributes']['Attending'][0];
Little rusty at this. Hope that helps.
Cory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100902/649badfe/attachment.html
More information about the support
mailing list