How to look through a dataset for a specific code

Im writing a game and have it up but i want to have game codes so that the person logging on can only access the game by putting in that code that was given.

so basically have a user type a game code into a text box then hit submit the website then checks if that code is in the dataset i created and if it is it opens a popup of the html5 game or something. if the code isnt in the dataset then it spits out an error and says the code doesn’t exist.

Here’s a simple example of a database search that will help get you started.

To learn about programming with Velo, read the following articles that will help you start working with Velo: