I am a newb all the way around and I hope that I explain this thoroughly in order to get the help I need. I have a mysql db inside of my python program that generates a hint. I need to have a random number (which will later be transferred to a barcode/image) that prints to the next hint but links back to the previous hint. For example, the program hints, "This thing grows apples." You go to an apple tree and there is a barcode you scan to get the next hint. Each hint is unique but grouped by a location. What is the best way to link the number between the two hints?