How to retrieve data from a:3:{s:10:"attributes";a:1:{s:6:"Center";a:1:{i:3;...} } please help me in this
What you probably need is: http://php.net/manual/en/function.unserialize.php
Thank you sir.. it works for me..
array(5) { ["attributes"]=> array(1) { ["Center"]=> array(1) { [1]=> string(14) "Woodbridge(HQ)" } } ["shippable"]=> string(1) "0" ["varprice"]=> string(2) "55" ["uniqid"]=> string(13) "50d39ec6bd774" ["module"]=> string(10) "uc_product" }
after unserialized i get data like above, now i want to have only "Woodbridge(HQ)" this part from above array how can i? please Send me a solution.
thanks in advance.
Note:
This is in a deprecated forum.
If you want a reply, please move this issue to a different forum.
In your case, I recommend the forum "Post installation".
https://drupal.org/forum/22
===
All Forums. https://drupal.org/forum
Pick a forum near the page top.
The 'Deprecated' forums are all at that page's bottom.
All the best; intended. -Chris (great-grandpa.com) ___ "The number one stated objective for Drupal is improving usability." ~Dries Buytaert *
Comments
Unserialize
What you probably need is: http://php.net/manual/en/function.unserialize.php
Thank you
Thank you sir..
it works for me..
Help
array(5) { ["attributes"]=> array(1) { ["Center"]=> array(1) { [1]=> string(14) "Woodbridge(HQ)" } } ["shippable"]=> string(1) "0" ["varprice"]=> string(2) "55" ["uniqid"]=> string(13) "50d39ec6bd774" ["module"]=> string(10) "uc_product" }
after unserialized i get data like above, now i want to have only "Woodbridge(HQ)" this part from above array how can i?
please Send me a solution.
thanks in advance.
This is in a deprecated forum.
Note:
This is in a deprecated forum.
If you want a reply, please move this issue
to a different forum.
In your case, I recommend the forum
"Post installation".
https://drupal.org/forum/22
===
All Forums. https://drupal.org/forum
Pick a forum near the page top.
The 'Deprecated' forums are all
at that page's bottom.
All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *