title: How to show a post right after posting like SO with PHP?
body: <p>Currently I'm doing this in two steps:</p>
  
  <p>1.post it to ask.php</p>
  
  <p>2.after inserting it into database,use <code>header("REFRESH: 0;URL=post.html")</code> to jump to the result page</p>
  
  <p>But how to do it all in one step,say,like SO here?</p>