|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Looping through an array using cfhttp
I have a one dimensional array that is populated with string values (in this case the strings are URL's). Id like to know how i can loop through the array and perform a cfhttp request on each URL in the array.
Thanks in advance. |
|
#2
|
|||
|
|||
|
<cfloop from="1" to="#arrayLen(myArray)#" index="i">
<cfhttp url="#myArray[i]#" method="get"> </cfloop>
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Kiteless thanks for that.
Problem sorted |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Looping through an array using cfhttp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|