Syntax in select statement
Could you please explain me where is the difference between passing integer to "where" clause and string.
if I use like this:
("select * from table_name where id=" + id)-return to me everything what i need exactly,
but in case when I use
("select * from table_name where name = " + myname)-
get error message:Too few parameters,expected 1
I got myname from the form like
<%String myname = request.getParameter("name")%>
What the problem?I just start to work with JSP
Thank's for everybody

