This is a simple issue but ive been staring at it so long i cant get it and its driving me mad
statement = _connection.prepareStatement("INSERT INTO users (option1,option2,option3,option4,option5,option6,option7,option8,option9,option10,option11) VALUES (?,?,?,?,?,?,?,?,?,?,?) WHERE userName= 'heggy' ");
"WHERE userName= 'heggy' " does not like this part.I have heggy stored in table users under field userName. What am i doing wrong?
statement = _connection.prepareStatement("INSERT INTO users (option1,option2,option3,option4,option5,option6,option7,option8,option9,option10,option11) VALUES (?,?,?,?,?,?,?,?,?,?,?) WHERE userName= 'heggy' ");
"WHERE userName= 'heggy' " does not like this part.I have heggy stored in table users under field userName. What am i doing wrong?