how can i check a value against a list of values stored in a seperate file (file will be included useing php include)
for example the file wil store
1
2
3
4
5
and the user will enter 3 and the form iwll reply and say sorry this already exists however if the user enters a number that isnt in the list e.g. 6 it will say ok it is available, already googled for many hours with no luck and i no nex to nothing in php to d this myself... thanks

