GeeCON Prague 2014*
The moose likes JSP and the fly likes Insert appropriate data against right question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Insert appropriate data against right question" Watch "Insert appropriate data against right question" New topic
Author

Insert appropriate data against right question

malik ge
Ranch Hand

Joined: May 13, 2011
Posts: 69
Hello,
I am trying to make a simple question/answer JSP web app.
By using three tables, tblQuestions , tblAnswers , tblUsers.

I am able to show all the data from the tbQuestions, but could not find a way to insert the appropriate answer against the desired question. When I click the "Answer this" all I got the last entry from the tblQuestion.

I want to know how to give answer to the right question, not the last one




Thanks
 
GeeCON Prague 2014
 
subject: Insert appropriate data against right question