title: Writing to my DB and submitting a form to Paypal using the same form?
body: <p>I have two forms on my webpage - one that writes certain information to a database, and one that lets you pay using Paypal (the page I have is for buying a product).</p>
  
  <p>Right now, there are the two forms, but I want to make it so that both submit at the same time. That is, when you click the Paypal button, it posts both forms.</p>
  
  <p>Can I put them both in the same post method somehow? Or how can I solve this problem?</p>
  
  <p>I want it so a customer can buy something, and the Paypal post executes (for the actual payment) but the page also writes to my own database with the information of the customer.</p>
  
  <p>I'm fine with using jQuery and/or any libraries.</p>
  
  <p>Here's my JS: <a href="http://slexy.org/view/s2u2Jsr2RI" rel="nofollow">http://slexy.org/view/s2u2Jsr2RI</a></p>
  
  <p>Here's my HTML: <a href="http://slexy.org/view/s2NgzHRES4" rel="nofollow">http://slexy.org/view/s2NgzHRES4</a></p>
  
  <p>Here's my post.php: <a href="http://slexy.org/view/s208WfbKso" rel="nofollow">http://slexy.org/view/s208WfbKso</a></p>