I would like to make a page that takes several variables from a cookie and posts them in a row, then repeats that row X amount of times where X is entered on the previous page along with the variables in the cookie.

I can't figure out how to do it, can't find anything online to help me, and the project is due on friday. Any help you guys can spare would be appreciated.