View Full Version : Which characters should be escaped?
12-03-2006, 08:02 PM
I'm submitting a concatenated query with multiple plain text values. I'm already expecting there to be a problem with text that includes a comma ( , ) but what other characters should I be certain are escaped?
', ", and any non-ASCII values. Most languages with MySQL bindings will provide you with a function to safely escape a string.
12-04-2006, 08:53 AM
Also, backticks-- ```` (same key as ~)
(same key as ~)Maybe on your keyboard.
12-04-2006, 11:42 PM
Twey, we've been over this... your keyboard is WEIRD :p
(It's the same key in the same position on every keyboard I can remember using and currently on the keyboard for various PCs that I have, my PC laptop and my MAC desktop.)
Only American keyboards. English keyboards, German keyboards and French keyboards are different, I believe; I strongly suspect that just about every other keyboard in the world probably is too. :)
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.