รายละเอียดของการตอบ ::
$sql = "
UPDATE tbl_drug_stock
SET
ID_Drug = '{$escaped_post['ID_Drug']}',
Drug_Name = '{$escaped_post['Drug_Name']}',
Packing_size = '{$escaped_post['Packing_size']}',
Drug_Price = '{$escaped_post['Drug_Price']}',
WHERE ID_Drug = '{$escaped_get['ID_Drug']}'
";
ทำไมมันฟ้องตัวสีแดงตรงนั้นค่ะ
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 'WHERE ID_Drug = ''' at line 7