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 = "UPDATE `shows` SET `title` = '$title', `tagline` = '$tagline', `desc` = '$desc' , `img_src = '$imgsrc' WHERE id = $showid";
上面的查询不想工作,我只是在第 1 行的 '' 处得到一个 mysql_error 说错误;
知道我哪里出错了吗?
你错过了一个勾号:
`img_src = '$imgsrc' WHERE id = $showid";
应该:
`img_src` = '$imgsrc' WHERE id = $showid";