You are not logged in.
Pages: 1
Hi,
Ok, granted, this IS a silly question, but here goes: where/how to I get the backtick from?
The normal single quote crashes my SQL...
Update restolist set name='Bill's place' where ID = 1
The single quote in the name makes the SQL crash...so I'd have to substitute the others with a backtick...mySQL can accept that...
BYW : I am Flemmish, so this is a AZERTY layout...
I tried this
ALT-96
But that worked in the old days (yep, now you all know HOW old I am ...)
Any nudge (in the right direction, mind ya) would be appreciated...
Tnx
Thor
Last edited by Thor@Flanders (2010-10-25 16:50:27)
Offline
Not sure about your keyboard but on most it is to the left of "1" underneath the tilde (~).
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
Thanks!
Found it...does not solve the SQL thing, but at least I'm back on track!
Thanks!
It was right where I left it...
Wellness
Thor
Offline
Maybe you should use double quotes?
"Bill's place"
Offline
Hi,
Well, I used some Java Magick
theString = theString.replaceAll("'", "`");
Replaces all the "dangerous" quotes with the harmless backtick...
Is Java COOL or what?
Thanks!!!
Thor
Offline
Regarding your original question, you may try
xmodmap -pke | grep "grave"
("grave" is actually the official name of backtick)
You will get a line telling you which button backtick is mapped to in the form of
keycode <keycode> = <button alone> <button with Shift> <button alone> <button with Shift> <button with AltGr> <button with AltGr+Shift> <button with AltGr> <button with AltGr+Shift>
In my case (Hungarian layout):
keycode 16 = 7 equal 7 equal grave dead_grave grave dead_grave
It can be decoded to the fact that "grave" is AltGr+7. Which is in fact a fact.
I hope it will be helpful.
“First principle, Clarice. Simplicity” – Dr. Hannibal Lecter
Offline
Pages: 1