title: Page not redirecting correctly
body: <p>I have set a redirect to happen and it isn't working here is the code:</p>
  
  <pre><code>if($result){
  
  $sql_result = mysql_query("SELECT * FROM  `application` ORDER BY  `application`.`app_id`   
  DESC LIMIT 0, 1");
  $row = mysql_fetch_assoc($sql_result); 
  echo $row['app_id'];
  echo $app_id;
  header('Location: payment.php?id=$row['app_id']');
  exit();
  }
  </code></pre>
  
  <p>The page isn't redirecting it is just returning a blank page. Any ideas?
  Thanks.</p>