there are a number of ways to do it, two that are probably the most popular are SESSIONS and if you dont really want to do sessions you can do it using hidden inputs in your form, or you could also use Global Variables