Brendan Cregan wrote:Hi All,
I have made a quiz servlet program and here I am trying to check if a user is there, then check their previous score, the else statement is working to create a new user in the DB if no score is present.
I'm convinced it has something to do with my syntax, but can't figure out what it is, as I have similar Queries at other sections of my servlet that are working fine.
Thanks for any help,
Brendan
what happens if the user exists but doesn't have a previous score.
But as you haven't told us what the actual problem is, I am just guessing.
[wg] edited to move my questions outside the quote.