# Code Tester

**URL:** <https://forum.kirupa.com/t/code-tester/293218>\
**Category:** programming\
**Created:** [July 25, 2009, 2:46am UTC](https://forum.kirupa.com/t/code-tester/293218 "2009-07-25T02:46:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GPP](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@GPP](https://forum.kirupa.com/u/GPP)\
**Post date:** [July 25, 2009, 2:46am UTC](https://forum.kirupa.com/t/code-tester/293218/1 "2009-07-25T02:46:02Z")

</div>

So basically I want to write a program that will help cashiers memorize codes. Take the numbers from a TXT file likes such

Cucumbers,4040  
Onions,3403  
Mushrooms,2323

Choose a random line, and display a form like this

Cucumber [text box] [submit button]

The person enters the number (4040) into the text box and presses submit if they get it right it reloads with another random line, if they get it wrong they have to do it again.

Can anyone help me out with this?
