Hi,
If it is a single selection you can use radio button as follows..
<input type="radio" name="category" value=1>comedy
<input type="checkbox" name="category" value=2>action
<input type="checkbox" name="category" value=3>sf
After submitting the page then get the value as follows..
Dim selectedvalue
selectedvalue = Request.form("category")
after this use the following query..
strSql= "select * from category_table where category_id=" & selectedvalue
Thanks
Suresh
|