well \ is a C type escape character. So like a new line is \n or backspace
is \b if you double the \ that is the escape character for \

so D:\\data\\book1 should do it.

-----Original Message-----
From: FlashGuy [mailto:flashmx@;rogers.com]
Sent: Thursday, October 31, 2002 9:47 AM
To: CF-Talk
Subject: OT: MySQL & CF


Hi,

Something weird is happening. Before I switched my databases from Access to
MySQL my app was working OK.
Now when I insert data into my SQL database one of the fields is getting
mucked up and I don't know why? Here is an example of a entry how is
*should* appear in the
database:

Should be:

env_var = book1
destination = D:\data\book1

This is what getting input into my SQL database:

env_var = book1
destination = D:|ata|ook1

Its like the "\b" is getting interpreted into a wacko ASCII character?

Both fields in my table are varchar(255) types


---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to