❔ Program showing unwanted entries after multiple uses
Whenever I run my method that returns all data entries from my database, it shows me extra entries at the top, but they are obviously incorrect. I don't know what is causing this, I have console.clear() at the beginning of the method, so I'm thinking it could be something with my for loop? It seems right to me though, so I'm not sure. Any ideas?
pastebin:
https://paste.mod.gg/xvhmdmemrfvn/1
Reference in menu class; lines 34-38
pastebin:
https://paste.mod.gg/xvhmdmemrfvn/1
Reference in menu class; lines 34-38



A tool for sharing your source code with the world!