I have a form that passes the team and its match number. The match number increments depending on the amount of matches played. The variable is chosen throuh a drop down menu and the match number is added to the end. on the next page I need to print out the variable passed for the number of matches played( ex 13 matches means 26 teams) that are all similar except the $team has a home and an away ($teamh, $teamv) the $team variable needs to be auto incremented to make coding smaller and easier to read. But I'm having trouble making a loop to do so. I can print out each by saying print $teamh1 or $teamh2 and so on but can I concatenate a variable that is incremented in a loop?