Click to See Complete Forum and Search --> : Transaction counter


gizmo
12-16-2007, 11:24 AM
payments made via Paypal. The essential code (there are other hidden fields) is:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="item_number" value="<?php echo substr(('00'.($item+1)),-3); ?>" />
</form>

and somewhere I want $item++; but where?

Since the form action leaves my site, it cannot be there, but if I have an intermediate page with it on, all of the remaining form fields must be carried over somehow before forwarding.