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?
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.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Also, backticks-- ```` (same key as ~)
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Maybe on your keyboard.(same key as ~)
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Twey, we've been over this... your keyboard is WEIRD
(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.)
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
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.![]()
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks