Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Insert appropriate data against right question

 
malik ge
Ranch Hand
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic