Helpful Information
 
 
Category: Java Help
servlets + mysql

String fexp="";
fexp=request.getParameter("fexpcujob");


"SELECT * FROM jobreg where
jobreg.expcujob=fexp";

this query is not working. here jobreg is the table name and cxpcujob is the field name.

Hello,

Try this for your query:

String query = "SELECT * FROM jobreg WHERE jobreg.expcujob=" + fexp;










privacy (GDPR)