<select name="file_links" id="file_links" multiple> <%For i = 0 to UBound(FileArr) - 1%> <option value="<%=FileArr(i)%>"><%=FileArr(i)%></option> <%Next%> </select>
Dim sFiles Dim Files() sFiles = Request.Form.Item("file_links") j = 0 ReDim Files(0) For i = 1 To Len(sFiles) If Mid(sFiles, i, 1) = "," Then Files(j) = CStr(Files(j)) j = j + 1 ReDim Preserve Files(j) Else Files(j) = Files(j) & Mid(sFiles, i, 1) End If Next
If UBound(Files) > 0 Then For i = 0 To UBound(Files) .AddAttachment "c:\inetpub\h51web\etraxc\file_fldr\files\" & Files(i) Next End If
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE