22. maj 2007 - 13:41Der er
3 kommentarer og 1 løsning
Array hvordan?
' Set keys we wish to read from the Request.Form collection Fields = Array("amount","time","ordernum","pbsstat","qpstat","qpstatmsg","merchantemail","merchant","currency","cardtype","transaction","md5check")
' Loop through Fields array, check if key exists in the Request.Form ' collection, if so print value For Each K In Fields If Request.Form(K) <> "" Then
' Collect return values and store them in a file, database, send them by email etc. ' NOTE: You can not display the data in a browser, since the resultpage is called in the background End If Next %>
AI bliver først for alvor en del af arbejdet, når teknologien integreres i den måde, vi arbejder på. At have adgang til AI betyder ikke nødvendigvis, at medarbejderne er klar til at bruge den.
Nu skal jeg lige indrømme at jeg har aldrig arbejdet med ASP, men jeg har derimod arbejdet med vbscript. Men umiddelbart siger min logik mig at det skal være noget alá Fields = Array("amount","time","ordernum","pbsstat","qpstat","qpstatmsg","merchantemail","merchant","currency","cardtype","transaction","md5check")
' Loop through Fields array, check if key exists in the Request.Form ' collection, if so print value For Each K In Fields If Request.Form(K) <> "" Then response.write K ' Collect return values and store them in a file, database, send them by email etc. ' NOTE: You can not display the data in a browser, since the resultpage is called in the background End If Next %>
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.