Query Responds With Check the 'Function Name Parsing and Resolution' section in the Reference Manual

后端 未结 6 515
终归单人心
终归单人心 2020-12-19 02:22

Would someone please explain to me what is wrong with this??

SELECT COUNT (`ID`) FROM `tableImSpecifying` WHERE `VisitorsEmail` = \'$VarThatHoldsEmailFromA$_         


        
6条回答
  •  天涯浪人
    2020-12-19 02:51

    MYSQL doesn't like white space after function names. Try taking out the space after COUNT.

    I also take it that those variable names are just an example and your not actually using them in production!

提交回复
热议问题