JSP-MYSQL Problem with where condition
Hello every one..plzz solve my problem
here iam specifying where condition in my jsp page but it doesnt work..
with out specifying where condition it displays all data in my table..
iam getting the problem with the where condition in the jsp with MYSQL
and code is..
Class.forName ("com.mysql.jdbc.Driver").newInstance ();
Re: JSP-MYSQL Problem with where condition
You can solve this problem with the where condition in the jsp by putting spaces before and after the 'section' as given below
String QueryString = "SELECT * from students where section='"+ section +"'";
|All times are GMT +5.5. The time now is 23:54.|