title: Passing price variable to PayPal with custom button
body: <p>I have a form and a custom PayPal button, but how do I pass the value/price variable to PayPal?</p>
  
  <pre><code>&lt;form action="https://www.paypal.com/cgi-bin/webscr" method="post"&gt;
      &lt;input type="hidden" name="cmd" value="_s-xclick"&gt;
      &lt;input type="hidden" name="hosted_button_id" value="ZEFZFYBY2SZB8"&gt;
      &lt;input type="image" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"&gt;
      &lt;img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I have a variable <code>$total = "238.00";</code></p>