Ciao a tutti, mi potreste dire cosa significa 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 '-1' at line 1

di mysql e php non ne so quasi nulla... ma come faccio a trovare la line 1, io uso phpMyAdmin su Aruba.
Thanks!