Click here to Skip to main content
16,004,887 members
Home / Discussions / Web Development
   

Web Development

 
Questionhelp: uml for n queens problem and solution Pin
pimpernel11-Oct-06 9:53
pimpernel11-Oct-06 9:53 
AnswerRe: help: uml for n queens problem and solution Pin
Guffa14-Oct-06 3:12
Guffa14-Oct-06 3:12 
QuestionWeb Services and SSL Pin
mtone11-Oct-06 8:42
mtone11-Oct-06 8:42 
AnswerRe: Web Services and SSL Pin
Bradml11-Oct-06 15:57
Bradml11-Oct-06 15:57 
GeneralRe: Web Services and SSL Pin
mtone11-Oct-06 16:34
mtone11-Oct-06 16:34 
QuestionCreating Variables from Members of an Array Pin
lachut11-Oct-06 8:42
lachut11-Oct-06 8:42 
AnswerRe: Creating Variables from Members of an Array Pin
Guffa11-Oct-06 14:23
Guffa11-Oct-06 14:23 
GeneralRe: Creating Variables from Members of an Array Pin
lachut12-Oct-06 3:11
lachut12-Oct-06 3:11 
Guffa,

Thanks for your reply.

Here's what I am trying to do (hopefully this will explain why I want to dynamically create the variables. If I'm off base, please let me know):

I have an order form that is dynamically created based on products in a database, the text boxes on the form are named after the product id. ie:

<tr><br />
<% <br />
  for each x in rs.Fields					<br />
    if x.Name = "prodID" Then<br />
	xProdID = x.Value<br />
	prodList = prodList & xProdID & ";;"<br />
    End If<br />
    select Case x.Name<br />
	case "prodName"<br />
	  response.Write("<td align=""left"">")<br />
	case Else<br />
	  response.Write("<td align=""center"">")<br />
    end select<br />
    Response.Write(x.value)<br />
%><br />
</td><br />
<% next %><br />
<td align="center"><input name="<% response.Write(xProdID) %>" type="text" value="0" align="right" /></td><br />
<% rs.MoveNext %><br />
</tr><br />


On the process page, I really don't have any other way to know what the names of the submitted data are without looking at the prodList variable.

I then want to return a copy of the form the user submitted so they can confirm their submissions as well write the data to the database.

Does this explanation make sense? How would you do it?

Thanks!
John
QuestionHow can mobile websites quickly tap into ad platforms? [modified] Pin
AllenArthurGay11-Oct-06 7:53
AllenArthurGay11-Oct-06 7:53 
QuestionPHP Dev Tool Pin
Bradml11-Oct-06 3:07
Bradml11-Oct-06 3:07 
AnswerRe: PHP Dev Tool Pin
Jonathan [Darka]12-Oct-06 4:21
professionalJonathan [Darka]12-Oct-06 4:21 
AnswerRe: PHP Dev Tool Pin
Vasudevan Deepak Kumar12-Oct-06 4:27
Vasudevan Deepak Kumar12-Oct-06 4:27 
AnswerRe: PHP Dev Tool Pin
Kevin McFarlane14-Oct-06 2:15
Kevin McFarlane14-Oct-06 2:15 
QuestionCallin Async WebService Pin
saud_a_k11-Oct-06 1:37
saud_a_k11-Oct-06 1:37 
AnswerRe: Callin Async WebService Pin
led mike11-Oct-06 7:57
led mike11-Oct-06 7:57 
Questionwhat is the difference Pin
Ish Kapila10-Oct-06 23:14
Ish Kapila10-Oct-06 23:14 
AnswerRe: what is the difference Pin
George L. Jackson10-Oct-06 23:58
George L. Jackson10-Oct-06 23:58 
Questionjavascript time validation Pin
madhavi_desai10-Oct-06 22:28
madhavi_desai10-Oct-06 22:28 
AnswerRe: javascript time validation Pin
CWIZO10-Oct-06 23:00
CWIZO10-Oct-06 23:00 
AnswerRe: javascript time validation Pin
Ish Kapila10-Oct-06 23:11
Ish Kapila10-Oct-06 23:11 
QuestionIf data duplicate help me plz. Pin
isis_preaw10-Oct-06 21:22
isis_preaw10-Oct-06 21:22 
Questionplz help! Pin
ligerDave10-Oct-06 19:46
ligerDave10-Oct-06 19:46 
AnswerRe: plz help! Pin
George L. Jackson10-Oct-06 23:50
George L. Jackson10-Oct-06 23:50 
GeneralRe: plz help! Pin
ligerDave11-Oct-06 1:16
ligerDave11-Oct-06 1:16 
GeneralRe: plz help! Pin
George L. Jackson11-Oct-06 7:50
George L. Jackson11-Oct-06 7:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.