UPDATE 'module_tests' SET 'tests_content' = REPLACE('tests_content', '<a onclick=', '<a class="dic" onclick=');
當我試圖在phpmysql中運行頂部查詢時,它給了波紋管錯誤。 有人能告訴我這個的原因嗎?SQL REPLACE在phpmyadmin中給出錯誤
#1064 - 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 ''module_tests' SET 'tests_content' = REPLACE('tests_content', '<a onclick=', '' at line 1
does''tests_content''是否爲字段名?如果它的字段名稱只是使用'tests_content'而沒有引用 – 2013-05-02 04:40:40