Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我收到以下错误:
您的 SQL 语法有错误;检查与您的 MySQL 服务器版本相对应的手册,以在第 1 行的 '' DStormr'、'ddo.png'、'Online:' 附近使用正确的语法
sql如下:
"UPDATE articulo SET '".$nombre."', '".$imagen."', '".$text."', '".$precio."', '".$popup."', ".$genero_id. " WHERE id=".$id"";
我错过/没有看到什么?
当你这样做时,UPDATE你需要SET key = 'value'。
UPDATE
SET key = 'value'