Need Explanation for a Simple Query
I was developing a JSP page with a "Registration Form" in it.
Therefore I am supposed to store all the information that user provides into the Database.
I was trying to use "Prepared Statement", but my faculty told to use the following simple query. I used it and it worked. But I didn't understand it's meaning.
Pls explain the following query.
Here varibles are String data types.
insert into <table_name> values (' "+variable1+" ',' "+variable2+" ');
Thanks in advance.