title: Using target="_blank" in a php redirect. Where do i put it?
body: <p>Good day stackoverflow. Thank you for your time.</p>
  
  <p>I have this php</p>
  
  <pre><code>$ImageLinks['image.png'] = 'http://www.example.com/r/redirect.php';
  </code></pre>
  
  <p>which redirects to the 'redirect.php' - which is the following</p>
  
  <pre><code>&lt;?php $URL="http://thetargetlinktobeopenedinnewtab.com";
  header ("Location: $URL");
  exit();
  ?&gt;
  </code></pre>
  
  <p>How can I make this $URL open in a new tab? I've tried placing the target="_blank" all over the place.</p>