title: PHP Redirect Issues with mysql
body: <p>I am trying to redirect but my code has PHP and MYSQL code and when I try to redirect it says that the ID for what it is trying to redirect to is not there.</p>
  
  <p>Here is my code I want to redirect:
  <br>
  <code>&lt;a href="game.php?id=&lt;?php echo $conn-&gt;insert_id; ?&gt;"&gt;</code><br>
  This code works if you click on it but I need it to auto send you to the page.</p>
  
  <p>Thanks for the help!</p>