得到这样的查询:
UPDATE trails SET route = '$route', distance = '$distance', desc = '$description' WHERE route='$route'
它返回此错误:
Error: 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 'desc = 'Bla bla bla' WHERE route='London to Dublin'' at line 1
谢谢!。