title: How to pass json array of one page into another in php?
body: <p>i have a <code>php</code> page <code>p1.php</code> where in a <code>JavaScript</code> function i have got some <code>json</code> <code>array</code> as <code>j</code> now i want to  use this <code>j</code> to another <code>php</code> page <code>p2.php</code></p>
  
  <p>i have tried it by </p>
  
  <pre><code>window.location.href="p2.php?data="+j 
  </code></pre>
  
  <p>then in <code>p2.php</code> 
  i used <code>$_get['data']</code> to get the result<br>
  but after researching i come to know the format is not good for huge data.
   so 
          i leave the idea of passing it into the <code>url</code> </p>