December 5th, 2012, 10:48 AM
Simple ´ (syntax) question
in this example the word ORDER is encapsed by these ´ and `. But in other statements i don't see them. whats their use?
$result = mysql_query("SELECT id, name FROM menu ORDER BY `order` ASC")
December 5th, 2012, 11:11 AM
normally you cannot use "ORDER" as a name, because it's a reserved word. But if you quote the name with backticks, it is permitted, because the name `order` can no longer be confused with the SQL token "ORDER".
Quoted names can include pretty much any character. See the manual.
December 5th, 2012, 12:42 PM
ooh ok! thank you very much!