title: how to convert an array to a string format
body: <p>i have an array in the format </p>
  
  <blockquote>
    <p>array() {["2011-07-29"]=>  39 ["2011-07-30"]=>  39  ["2011-07-31"]=>  39 ["2011-08-01"]=>  40}</p>
  </blockquote>
  
  <p>i need to convert it to a string format like this (the below is a var_dump result)</p>
  
  <blockquote>
    <p>string(584) "[new Date(2011,07,29),39], [new Date(2011, 07, 30),39],[new Date(2011, 07, 31),39], [new Date(2011, 08, 01),40]"</p>
  </blockquote>
  
  <p>had anyone faced it before , iam stuck with this now...</p>