Originariamente inviato da techno
ciao a tutti.

ho un database chiamato "keydownload" con una tabella all'interno chiamata "key", ho fatto questa query:

Codice PHP:
...
$QueryKey=mysql_query("Select Key from keydownload Order by Data Desc") or die (mysql_error()); 
ma mi da questo errore:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Key from keydownload Order by Data Desc' at line 1

eppure mi sembra di non aver fatto errori o non vedo qualcosa????
key e' una parola riservata. Cambiare il nome del campo e' la scelta migliore.

qui trovi le sue sorelle.

http://dev.mysql.com/doc/refman/5.0/...ved-words.html