title: How to use php array in jquery
body: <p>you can see my goal here,</p>
  
  <p>i have a php array in my code like</p>
  
  <pre><code>&lt;?php $myvalues = array(13,45,23,54,767,234,543,245); ?&gt;
  </code></pre>
  
  <p>i want to store all the values in jquery array in my script</p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function(){
        var jqueryarray = $myvalues; // here i want to store $myvalues array values in jqueryarray
          for (var i = 0; i &lt; jqueryarray.length; i++) {
              //my stuf
          };
      }); 
  &lt;/script&gt;
  </code></pre>
  
  <p>How can i do this one ?</p>
  
  <p>Any ideas ?</p>