Re: [development] Serialized Data

2011-11-11 Thread arthur
http://php.net/manual/en/function.unserialize.php is what you want to convert the serialized data to an array On Nov 11, 2011, at 8:41 AM, Lynn wrote: > Hello, > > I'm trying to create an Ubercart module to show products with their attribute > option name. > > Could anyone guide me (or provid

Re: [development] Serialized Data

2011-11-11 Thread Steve Ringwood
Lynn You can use the unserialize() function to get at the data, something like $info = unserialize($data); Nevets Hello, I'm trying to create an Ubercart module to show products with their attribute option name. Could anyone guide me (or provide a link) how to get the '29', via PH

[development] Serialized Data

2011-11-11 Thread Lynn
Hello, I'm trying to create an Ubercart module to show products with their attribute option name. Could anyone guide me (or provide a link) how to get the '29', via PHP or function, from this serialized data: a:1:{i:3;s:2:"29";} If there are two product attributes, I would need to extract th