I have a program which is able to output it&#039s variables (its a shopping cart) to a script (ASP or CGI) and i need to proccess these variables to update a database. The problem I am having is the format in which the program handles the vcariables.<BR><BR>If 10 products are purchased then 10 sets of variables are produced. ie Item1 - Item10, Qty1 - Qty10, etc.<BR><BR>Is there a way I can use a loop to access each in turn? I also have a variable giving me the number of products purchased.<BR><BR>Thank you very much.<BR><BR>Jonathan