Brad/Matt,
I dont think it is the double quotes, VBScript the querystring does pass the values as a string and "1" is ok.
Even if not ok the Variant data type would cast this without too much trouble.
I did note that your query had single quotes arround the categoryID where clause.
"SELECT * FROM pics WHERE categoryID = ' " & Request.QueryString("cid") & " ' "
I am not sure if this is the problem but I would first try
"SELECT * FROM pics WHERE categoryID = " & Request.QueryString("cid")
Widhout the single quotes.
Having said that I would have expected a different error for that.
Also check that the field "category" exists in your database and check for case sensitivity also while you are there.
Also, as an aside that may well be connected to the error, you should always check that the recordset has a record in it before using the values that you think are there.
eg
Code:
<title>
<%
if not rstemp.eof and not rstemp.bof then
response.write(rstemp("category") & " Pictures")
else
response.write("No records available")
end if
%>
</title>
In this case I think you will find that there are no record inthe recordset, you next task is to find out why....
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================