I have a question:
I am doing a search page using the GET method and a list/menu.
In the list/menu i have the categories. EX:. cat1; value = 1 / cat2; value =2 etc .
I want to have an "All categories", but i don't know what value to give to it, so the result page would give me "all categories".
This is the SQL statement in the results page:
SELECT *
FROM Qryresults
WHERE category_ID = ?
ORDER BY produts_ID ASC
parameter: @category_ID
Type: integer
Value: IIf((Request.QueryString("form1") <> Nothing), Request.QueryString("form1"), "")
.......
I am using dreamweaver...everything works fine except for the "ALL categories" wich i don't know how to make it work...
THanks