The reason i thought i needed a database was probably not explained very well. Sorry about that..

The user will be selecting a name, not a binary number. This name will correspond to a an ID number in a table in the database. This ID will then match an ID in the table which had the IP address next to the binary code.

Once the IP address has been obtained it will then be referenced( as each IP will correspond to a physical location ) This location will then be displayed to the user.

I hope this makes some sense!!

The application i am making is for a locating system. I have a web coprocessor which will send UDP packets over a LAN. These packets will contain the IP of the coprocessor and a 4 bit binary number. The app will receive these packets and put the info into a database. A user will then come along and access the app. The user will select from a range of names which will be related to a particular binary number. So when they search for the last known location they are really looking to see the last known IP.(hope this all makes sense)

Anyway thansk again. If what i am saying isn't right PLEASE let me know where i am going wrong!!!

Thanks

Chris