I've got a simple shopping cart that stores into in an array. If the product name has commas, and it attempted to be added to the cart, it throws an error: "The value cannot be converted to a number". Error message is telling me this is the problem line:
<cfset subtotal = subtotal + (session.cart[i][4] * session.cart[i][3])> What gives? I've not seen this before? Do the commas in the product name need to be escaped somehow?? And where? -John B ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322960 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4