Thanks for the idea, i appreciate your time. I think it could work, but i would still have to catch the error when my server was down. I just want to check a remote site (ping it, or test for a 550 error or whatever) and then, if it doesn't work, i want to abandon the local script rather than...
One option is to get the length of your list, then loop your output that many times - thus evading cfif altogether. Something like:
<CFSet howmanyineed='#listlen(tablefield)#'>
<CFLoop index=thecount from=1 to=#howmanyineed#>
output image code for #thecount#
</cfloop>
Hi there. I thought this would be an easy one, but i've searched a long while and failed to find what i need.
I have a website which is feeding data to other websites through a simple javascript call similar to:
<SCRIPT LANGUAGE=JAVASCRIPT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.