I have searched far and wide for a solution to the following but did not find something that worked for me. If someone could help me, would be very much appreciated.
The idea that I have is to create a login page where, if a "specific" pre-determined registration number is given/sent to the user, and it exists in the file, to execute / login rights allowed.
For example, if a user's registration number is 12345 while another is 123, would like to first search to see if the user's number exists, then do something().
Therefore, searching for "12345" would not be the same if "123" exists already, so it has to find a specific number or numbers.
This would be in an existing file.
Thank you. Any help is appreciated, cheers.