title: How to send multiple Get request
body: <p>In my script i have an array which filelocations on my server. i would like to send multiple header/get to another page were it will delete these files. </p>
  
  <p>my delete page uses <code>$_GET</code> to se which file to delete.</p>
  
  <pre><code>$array1 = array('file1', 'file2', 'file3');
  
  foreach($array1 as $key =&gt; $item){
  echo '&lt;li&gt;&lt;a href="delete_page.php?file='.$item.'"&gt;'.$item.'&lt;/a&gt;&lt;/li&gt;';
  }
  </code></pre>
  
  <p>delete file</p>
  
  <pre><code>$_delete=$_GET['file'];
  mysqli_query($connect, "DELETE FROM Doc WHERE file=$file");
  </code></pre>
  
  <p>How could i send multiple headers without post but instead use get?
  instead of forcing user to click all the links to delete the items?</p>