JDatabaseMySQL :: query:1064 - 您的SQL语法有错误;检查与MySQL服务器版本对应的手册,以便在第1行'SELET acl_id FROM jos_core_acl_axo_map
WHERE section_value ='com_contentmanag'附近使用正确的语法SQL = SELET acl_id FROM jos_core_acl_axo_map
WHERE section_value ='com_contentmanager 'AND value ='46'
答案 0 :(得分:0)
可能“value”是一个MySQL关键字..
使用此字符可以避免MySQL将该单词识别为关键字“`”
在你的情况下:
SQL=SELECT acl_id FROM jos_core_acl_axo_map WHERE section_value = 'com_contentmanager' AND `value` = '46'