title: PHP wait for a post.
body: <p>I know that PHP is not asynchronous. Functions are executed one after another.</p>
  
  <p>What I want to do is a post, then process the info and call procedures based on the post info.
  For instance multiple choice. if its "a" then process(a) if its "b" then process(b).  </p>
  
  <p>So what are the possible things I can use to accomplish this? </p>
  
  <p>JavaScript? 
  Ajax? 
  Perl?
  Can someone point me to some examples? </p>
  
  <p>Thank You</p>