title: php Wikipedia API JSON get page ID
body: <p>I want to get some wikipedia information using their api but how would I get the page id? Because it is in the JSON array.</p>
  
  <pre><code>echo $json["query"]["pages"][HERE_IS_THE_PAGE_ID]["pageid"];
  </code></pre>