title: unserialize() expects parameter 1 to be string, array given
body: <p>I am storing data in mysql table by serialize method, now I want to print all data So I wrote mysql query and trying to unserialize because data is in serialize format but unserialize showing error.</p>
  <p>Error:</p>
  <pre><code>unserialize() expects parameter 1 to be string, array given
  </code></pre>
  <p>Query to fetch all records</p>
  <pre><code>$this-&gt;db-&gt;select('*');
  $this-&gt;db-&gt;from($table);
  $result=$this-&gt;db-&gt;get()-&gt;result();
  $unserialize_list=unserialize($result);
  </code></pre>