How do I make use of a parameter in a warning message.
I have a form that passes a URL parameter from one page to another called picshowselected.asp of the form:
../picshowselected.asp?picapic=5+series&go=Go
The parameter is 5+series. If the database does not contain any categories of 5+series, I use a "show region if recordset is not empty " server behaviour in case there are no 5+series items in the data. This works fine and there are no problems when displaying the page..
I also supply a warning message at the moment that says "Sorry but we do not seem to have that catagory on file." This uses a "show region if recordset is empty" server behaviour.
What I want to do is to use the parameter to inform the user in a warning message of the following form:
"Sorry but there are no 5 series categories on file."
It seems likely that there is a way of recovering the passed parameter 5+series, replacing the + with a space if neccessary, and using it in my message, but I have been unable to work it out.
Can anyone point me in the right direction?
I'm using ASP JavaScript in Dreamweaver CS3 on this particular site.
Howard Walker
P.S. Before anyone asks, Yes - the 5+series does refer to BMW cars.
