hello
i have a problem in the do while loop
where the program will ask the user to enter yes and do an iteration, nut in my example it did not do??
here is the code
[PHP]import java.sql.*;
import java.io.*;
public class Project3A {
public static void main(String[] args) {
String mname="";
String mail="";
...
User Profile
Collapse
-
well, i would like to learn in the future maybe because i am a little bit a beginner in java
and i have another problem
which the do while loop
where it will ask the user if he wants to insert more values and to do an iteration
but in my program i didnot
[PHP]import java.sql.*;
import java.io.*;
public class Project3A {
public static void main(String[] args) {
... -
-
i put single quote
but it will print "+mname", "+mail", "+tel"
not the values that were added by the userLeave a comment:
-
well, sorry i didn't understand well
how to modify the query??Leave a comment:
-
Error in Java Statement when inserting into MS Access DB
Hello
I have a problem when coding the statement
[PHP]stmt.execute("i nsert into Member values ("+mname+" ,"+mail+","+tel +")");[/PHP]
where mname, mail,tel are variables
which the user inputs them and stored in variables and then i want them to be stored in MS Access, everything is done successfully until it reached the previous statement
Here is the...
No activity results to display
Show More
Leave a comment: