Write Some Variables - simple php!

Discussion in 'PHP' started by imarketing101, Sep 4, 2008.

  1. #1
    Hi,

    I'm a clickbank publisher and I am designing a new thank you page.

    I read that clickbank can pass variables to the thank you page: http://www.clickbank.com/publisher_tools.html#Publisher_Tools_14

    I just wanted to know how to have them automatically field out on my thank you page - specifically on an optin form field.

    My pages are in php. This should be easy, eh?

    Thanks! :cool:
     
    imarketing101, Sep 4, 2008 IP
  2. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #2
    I think you want the data passed to be shown on youtr webpage.
    You can do this to get the receipt: $r= $_GET[cbreceipt];
    To show on form: <input type="text" name="receipt" value="<?php echo $r; ?>">
    If form is already in print/echo
    print '
    <input type="text" name="receipt" value="'. $r. '">
    ';

    If you meant something else, please explain more
    Thanks :)
     
    JEET, Sep 4, 2008 IP