Question
listtoarray -adding values with commas throws an error?
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[4] * session.cart[3])>
What gives? I've not seen this before? Do the commas in the product name need to be escaped somehow?? And where?
-Preserved
