Yes to all 3 ---

<cfset My2dArray = arrayNew(2)>

<cfset My2dArray[1][1] = "Justin">
<cfset My2dArray[1][2] = "www.CFFAQ.org">

<cfwddx action="CFML2WDDX" input="#My2dArray#" output="MyWddx" >

post the wddx to another page

<cfoutput>#MyWddx#</cfoutput>
<!--- put it in the DB --->
<cfquery >
insert into table
(wddxfield)
value
('#MyWddx#')

</cfquery>

<cfwddx action="WDDX2CFML" input="#MyWddx#" output="My2dArray">
<!--- read it out --->
<cfoutput>

#My2dArray[1][1]#
#My2dArray[1][2]#

</cfoutput>

Hope that helps

~JustinMacCarthy

Coming soon WWW.CFFAQ.ORG

----- Original Message -----
From: zknoll <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 17, 2000 4:11 PM
Subject: Can I put a wddx packet into a database and read it back out?


>
> I have an 2-D array of information that I convert into a wddx packet to
> pass between templates but I would also like to be
> able to store the packet into a database and read it out again. A) Is
> this possible? B) Is it possible with access 200 as the
> backend database? C) If A and B are true can you show me a snippet of
> code as to how this would be done?
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to