...

View Full Version : response.redirect ... how the "&" setup in the statement ?



lse123
08-17-2007, 08:06 PM
how i write in asp response.redirect "..........." the
index.asp?time=x&car=b where x,b = vars from request.form ? how the "&" setup in the statement ?

miranda
08-17-2007, 09:47 PM
As long as the ampersand & is inside the quotes, it is not seen as a concatenation operator. Outside the quotes and it is seen as a concatenation operator. So if you are building a string dynamically it would look something like this

Response.Redirect("somesite.asp?color=" & strColor & "&qty=" & intQty)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum