1 Reply Latest reply on Oct 5, 2006 10:54 AM by meddlingwithfire

    CFDUMP

    bweno Level 1
      How do I enter a <cfdump var="#USPSResult#"> into a database. Is there any documentation on this procedure.

      Thanks.
        • 1. CFDUMP
          meddlingwithfire
          The <cfsavecontent variable="myVar"></cfsavecontent> is your friend :)

          <cfsavecontent variable="dumpResults">
          <cfdump var="#USPSResult#">
          </cfsavecontent>

          <cfquery name="myQuery" datasource="#myDatasource#">
          INSERT INTO Results (dumpText)
          VALUES (<cfqueryparam value="#dumpResults#" cfsqltype="cf_sql_longvarchar">);
          </cfquery>