|
-
Dec 22nd, 2005, 03:05 PM
#1
Re: Control array in VBScript
That code could work in VB6.
Here, though, all elements must have a different name/id, and so you cannot have any control array in your html pages. What are you trying to accomplish that requires a control array?
-
Dec 22nd, 2005, 03:33 PM
#2
Thread Starter
Addicted Member
Re: Control array in VBScript
 Originally Posted by mendhak
That code could work in VB6.
Here, though, all elements must have a different name/id, and so you cannot have any control array in your html pages. What are you trying to accomplish that requires a control array?
Basically, I want to display three fields from a database that match a certain criteria. So let's say I have name, email and phone in my DB and I want to display that in text boxes for records added in the past week. Using PHP, I retrieve the info and create a simple HTML form and basically show the three fields for each record. Then info can be changed and submitted, and I found in PHP that to do so I have to put the [] with the control name to create an array, which works fine. But now let's say I want to put some validation on those text boxes, I can't? If it works for HTML and PHP, why won't it cooperate with VBscript?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|