[Phpmyadmin-devel] backquotes in SQL query

Dieter Adriaenssens dieter.adriaenssens at gmail.com
Tue Aug 16 10:49:02 CEST 2011


I noticed Piotr removed back quotes from a few fields in an SQL query.
They were fixed strings (no variables), so they don't really need
escaping, but I was under the impression that it is good practice to
add back quotes to every field/table/database name in a SQL query, not
only the dynamic ones?

Kind regards,

Dieter Adriaenssens

More information about the Developers mailing list