View Full Version : response.redirect ... how the "&" setup in the statement ?
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 ?
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)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.