locked
PayPal add to cart button - syntax RRS feed

  • Question

  • User-341952562 posted

    The following is a line from a PayPal add-to-cart button

    <code>

    <input type="hidden" name="amount" value="3.95">

    </code>

    What I want to do is to get the 3.95 from my data base, put it in a variable (call it pryce,say), and then write the line as something like :

    <code>

    <input type="hidden" name="amount" value=pryce>

    </code>

    I cannot find how to do this from the PayPal documentation; probably I've looked in the wrong place. It is implied in Dummies that you can do this, but I'd like to get a hint before I start trying it out.

     

    Saturday, March 12, 2011 8:54 AM

Answers

  • User-341952562 posted

    OK. I've now realised that this is a silly question.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 15, 2011 1:46 PM