title: How can I unserialize std class()
body: <p>I have serialize values in data base, i fetch them from database then when i do </p>
  
  <pre><code>&lt;pre&gt;
  print_r($DataValues)
  &lt;/pre&gt;
  </code></pre>
  
  <p>it shows me value like this </p>
  
  <pre><code>[0] =&gt; stdClass Object
      (
          [categories] =&gt; a:1:{i:38;s:21:"Summer Market Session";}
      )
  
  [1] =&gt; stdClass Object
      (
          [categories] =&gt; a:1:{i:38;s:21:"Summer Market Session";}
      )
  
  [2] =&gt; stdClass Object
      (
          [categories] =&gt; a:2:{i:38;s:21:"Summer Market Session";i:39;s:21:"Autumn Market Session";}
      )
  </code></pre>
  
  <p>i want to get only the value after unserializing it, i tried to unserialize but is show bolean false</p>
  
  <p>&amp; when i try to print the value after running for each value it shows me below mentioned error</p>
  
  <p><strong>Catchable fatal error: Object of class stdClass could not be converted to string</strong> </p>
  
  <p>I dont know how i do this i was trying all unserialize tactics what i know &amp; also i tried to store value in array by using foreach loop but i am fail..</p>
  
  <p>Kindly help how can i get value of it after unserilize it...??</p>