Hi,
Either you use cookies, or you pass them by URL..
Or you can even register session variables.
All methods have limitations on the amount of data you can pass along..
But I guess the easiest way to do this is:
<a href="next.php?ID=23&amount=1200">Next</a>
If it is a small application..
Good luck