Thank you. This helped, but this is not the problem.
The problem is:
if the username is found it goes to the end of the file without puting the rest of the information on the array that will be printed to the database.
I think I understand now how to solve this problem..
The problem is:
if the username is found it goes to the end of the file without puting the rest of the information on the array that will be printed to the database.
I think I understand now how to solve this problem..