Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

kindly help I am making some fundam

Status
Not open for further replies.

da21

Programmer
Dec 4, 2002
23
US
kindly help I am making some fundamnetal querying error below !
Thanks!
Ihave just created a text field, taking user input there and querying the database in the pet table.

String nam = request.getParameter("tex");
rs = statement.executeQuery("select *" + "from pet" + "where name = '"nam"' ");

Kindly guide me for syntax error.
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top