title: save content into an array
body: <p>I generate an array with a php file by calling a remote server. The return looks as follows.
  How can I capture this content into an array?</p>
  
  <pre><code>Array
  (
  [0] =&gt; Array
      (
  [ID] =&gt; 00d9fd1b-5533-423a-9396-06ccbd69a06f
  [NAME] =&gt; Icecream
  [PRICE] =&gt; 3 
      )
  [1] =&gt; Array (
  [ID] =&gt; 022a8ef9-435c-4cb3-9977-87abba6649e4
  [NAME] =&gt; Chocolate
  [PRICE] =&gt; 12
      )
  )
  </code></pre>
  
  <p>My php file calls the other php file and makes an sql query with using POST method. I try to capture the content as follows, but doesn't work. The whole array will be in another array...</p>
  
  <pre><code>$result = do_post_request("http://www.example.com/proxyslq.php", "query=SELECT * FROM PRODUCTS", 0);
  </code></pre>
  
  <p>Sorry if the question is wrong, I'm a beginner programmer.</p>