Wednesday, 18 September 2013

PHP Variable Statement At End of SQL Query Produces Error Flag SQL Dialects

PHP Variable Statement At End of SQL Query Produces Error Flag SQL Dialects

I have SQL Dialects enabled for my project. I am using the below code

There is a PHP variable that is set if a certain condition is met. SQL
Dialects thinks there is an error at the end of the SQL statement since it
expects either a GROUP BY, HAVING, or other SQL declaration after the
WHERE declaration. It underlines the variable and the entire file is
marked as having known syntax errors. Is there a way for me to create an
exception in SQL Dialects so this is ignored?

No comments:

Post a Comment