Jump to content

hazard0usIntent

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by hazard0usIntent

  1. Actually this line is getting the value of the submitted form field:

    varTitle= request.querystring("subject")

    So the SQl statement just needs to be:

    sqltext="Select * from books WHERE subject_area = '" & varTitle & "'"

    Use request.querystring("form field name") to reference fields submitted in a form with a method of "get".

    Use request.form("form field name") to reference fields submitted in a form with a method of "post".

    I would not recommend using request.servervariables to reference submitted form fields as the methods above are more direct and efficient.

×
×
  • Create New...