title: add Variable Array to Cookie then getting error
body: <p>After input some variable,</p>
  
  <p>PHP code:</p>
  
  <pre><code>$CartItem = array(
          'itemID' =&gt; $itemID,
          'ProductName' =&gt; $ProductName,
          'Option' =&gt; $Option,
          'Quantity' =&gt; $Quantity,
          'Price' =&gt; $Price,
          'Total' =&gt; $Total
      );
  
  setcookie('CartItem', $CartItem, null);
  </code></pre>
  
  <p>Output error:</p>
  
  <pre><code>Warning: setcookie() expects parameter 2 to be string, array given in /Users/user/Sites/app/addtocart.php on line 46
  </code></pre>