I have a html front end page where the user selects 3 items from a group of combo lists.
The important one is named "sTime" and can be values such as 0900,0930,1000 etc
After selection and then submission an asp page loads where i want to query a table depending on the selections made on the html front end. the sTime coresponds to a column name in my table.
so for the sTime selection made i would want the query ideally to be
SELECT sTime from table_name WHERE etc etc so
but actually getting the sTime value (which say is 0900) into the query is mind boggling because to access the sTime value previously ive had to use:
'" & request("sTime" & "'
which equates to
SELECT '" & request("sTime" & "' from table_name WHERE etc etc so
but this dont work.
i know this may be a bit confussing but can anyone help me please!
The important one is named "sTime" and can be values such as 0900,0930,1000 etc
After selection and then submission an asp page loads where i want to query a table depending on the selections made on the html front end. the sTime coresponds to a column name in my table.
so for the sTime selection made i would want the query ideally to be
SELECT sTime from table_name WHERE etc etc so
but actually getting the sTime value (which say is 0900) into the query is mind boggling because to access the sTime value previously ive had to use:
'" & request("sTime" & "'
which equates to
SELECT '" & request("sTime" & "' from table_name WHERE etc etc so
but this dont work.
i know this may be a bit confussing but can anyone help me please!