[PHP] Trying to figure out contents stored in db field

2005-08-14 Thread Gregory Machin
Hi The cms exponent story some data in a serialized array .. then column name id location_data and contains the following.. O:8:stdClass:3:{s:3:mod;s:10:textmodule;s:3:src;s:20:@random419404caefcef;s:3:int;s:0:;} i fugure there is an object stored in this serialized array. how do i figure out

Re: [PHP] Trying to figure out contents stored in db field

2005-08-14 Thread Scott Noyes
Unserialize it, and then use var_dump() to see what the object contains: var_dump(unserialize($location_data)); On 8/14/05, Gregory Machin [EMAIL PROTECTED] wrote: Hi The cms exponent story some data in a serialized array .. then column name id location_data and contains the following..

Re: [PHP] Trying to figure out contents stored in db field

2005-08-14 Thread Gregory Machin
thanks will try it .. On 8/14/05, Scott Noyes [EMAIL PROTECTED] wrote: Unserialize it, and then use var_dump() to see what the object contains: var_dump(unserialize($location_data)); On 8/14/05, Gregory Machin [EMAIL PROTECTED] wrote: Hi The cms exponent story some data in a serialized