On 11/9/06, Josh Nathanson <[EMAIL PROTECTED]> wrote:
> Loop over your db pages, use CFHTTP to output the file content, then do a
> CFFILE to write it to disk.
>
> -- Josh
>

Id's do something like this where you just write files somewhere on
your server after saving the data in a cfsavecontent

<cfloop query "rsQuery">

          <CFSET File = "">
          <CFFILE Action="Write" File=thefile#rsQuery.RecordID#.html" 
Output="#File#">

<cfsavecontent variable="TheFile">

<table>
  <tr><td>
     #rsQueryGOODS#
  </td></tr>
</table>
</cfsavecontent>

<cffile action="APPEND" File=thefile#rsQuery.RecordID#.html"
output="#TheFile# " addnewline="Yes">

</cfloop>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259796
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to