更新时间:2023-09-16 23:05:10
您的查询有两个问题...
There are two issues with your query...
在位置"部分和p_stock上缺少的分隔符之前,您还有一个逗号.
You Have one extra comma before the Where Section and your missing delimeters on p_stock.
应该是:
"p_stock = '" . $_POST["updateProductStock"] . "' "
和
. "WHERE id='" . $_GET['id'] . "'";