SyntaxFix
Write A Post
Hire A Developer
Questions
To follow debobroto das's answer you can also put after
input.reset(); input.next();
I had the same problem and when I tried this. It completely fixed it.