PHP & Javascript :A generic way to create a javascript dictionary using php
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1156054/whats-the-best-way-to-send-javascript-array-to-php-script-using-get">What&#39;s the best way to send JavaScript array to PHP script using GET?</a>  </p>
</blockquote>



<p>I just want to know that what is the best way to create a javascript dictionary .</p>

<p>Like suppose i have a php array and i want to feed the value of that array(loop iteration )</p>

<p>to a javascript dictionary in the form of key value ?</p>
