Page 1 of 1

' vs ´

Posted: Sat Mar 12, 2005 6:37 am
by Shendemiar
Why does ' differ from ´ when used in sql? using ' with field names (on insert or update) gives me an error, (while if i remember correctly, both of them are usable with the values.)

Is it a mysql thing or magicquotes thing or what?

´' are not easy to google for...

Posted: Sat Mar 12, 2005 7:03 am
by infolock
To quote feyd :

"single quotes don't reference columns or tables, they are strings to mysql. Backticks (`) help mysql know what is a reference and what isn't."

just can't say it any better than that