Problem Building ASP Statement

General discussion on how to create or maintain a website. Different site creation tools and editors may also be discussed here.

Problem Building ASP Statement

Postby Ben Last » Fri 2006 Apr 07 5:50

Hi Guys,
I'm making a website (from scratch) which contains an ASP based shopping basket, but I'm having trouble with a certain thing I need to do in ASP.

Basically I want to include an ASP variable into an ASP statement
Here is an example of what I'm trying to do:
<%
Variable1 = request("ValueFromForm_[ANOTHERVARIABLE]")
%>

I want to do this so I can retrieve a number of values using a loop, so the variables I want to request are ValueFromForm_1, ValueFromForm_2 etc.

The problem is that I cannot seem to insert a variable into the statement, Any Ideas?
No trees were harmed in the construction of this message, however many electrons were terribly inconvenienced.
User avatar
Ben Last
Consulting Ambassador
Consulting Ambassador
 
Posts: 475
Joined: Fri 2005 Jan 21 7:47
Location: Stowmarket

Re: Problem Building ASP Statement

Postby Spock » Fri 2006 Apr 07 9:01

Ben Last wrote:... Any Ideas?


Since I'm not that familiar with ASP so, if no one else in here can help you, I recommend you try Programmers Heaven. They have a section on ASP and ASP.NET.

Good luck and please let us know how you get on.
User avatar
Spock
Forum Admin
Forum Admin
 
Posts: 2417
Joined: Tue 2005 Jan 18 10:47
Location: MD, USA


Return to Web Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron