title: PHP Unserialize Offset Error
body: <p>I have this code:</p>
  
  <pre><code>$serialized = $_POST['cartSer'];   
  echo $serialized;
  </code></pre>
  
  <p>Which prints this:</p>
  
  <p>a:1:{s:15:\"test\";s:3:\"999\";}</p>
  
  <p>I then add this code:</p>
  
  <pre><code>echo unserialize($serialized); 
  </code></pre>
  
  <p>And end up with this error:</p>
  
  <p>Notice: unserialize() [function.unserialize]: Error at offset 5 of 43 bytes in /mypage.php on line 5</p>
  
  <p>What am I doing wrong with the unserialize?</p>