I have another problem tho.
I have a function that allows the user to enter usrName and date and then it checks the array and if the name and the date is the same as in the array all the info in that array slot is presented.
when I do that I can see item 1 and item 2 but not item 0.
here is the code
I think there maybe is something wrong with the name and the date that is sent to the array because when i remove the if-statement everything is presented.