Posted by Kaushal Gupta on December 21, 2012 at 8:16pm
How to retrieve data from a:3:{s:10:"attributes";a:1:{s:6:"Center";a:1:{i:3;...} }
please help me in this
How to retrieve data from a:3:{s:10:"attributes";a:1:{s:6:"Center";a:1:{i:3;...} }
please help me in this
Comments
Unserialize
What you probably need is: http://php.net/manual/en/function.unserialize.php
-- David
davidnewkerk.com | absolutecross.com
View my Drupal lessons & guides
Thank you
Thank you sir..
it works for me..
Kaushal Gupta
kaushal@intellicept.com
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.
Kaushal Gupta
kaushal@intellicept.com