title: Redirect even with USERID
body: <p>So, I am trying to redirect after I delete a user from the MySQL table. I have achieved this. The problem is that in the "delete-user.php" URL, I specify a "ID" to delete. For some reason, the "delete-user.php" page is blank, even when I try to put a redirect link.</p>
  
  <p>Basically, the "ID" in the url is stopping me from clicking a redirect button to go back to the last page. By stopping I mean that the linked text is not showing up.</p>
  
  <p>My code for delete-user.php is below.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  
  &lt;?php
  
  $SQL = $odb-&gt;prepare("DELETE FROM users WHERE `ID` = :id");
  $SQL-&gt;execute(array(':id' =&gt; $id));
  
  ?&gt;
  
  &lt;a href="http://www.thisistheredirecturl.com"&gt;Go Back&lt;/a&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>Keep in mind that the actual delete function works.</p>
  
  <p>Thank you.</p>
  
  <p>Edit: This is how the manage-users page looks. <a href="http://prntscr.com/7o6kno" rel="nofollow">http://prntscr.com/7o6kno</a>
  When you click on delete, it will redirect to the delete-user page and delete the user. (With the id parameter of the user) Unfortunately, I cannot get it to redirect back to the manage-users page.</p>