我正在尝试使用 PHP 通过查询更新公司表,但数据库没有变化。MySQL 数据库。
$pncon->query("UPDATE `company` SET `name` = '" . $companyName . "', `parent_ID` = '" . $companyParent . "', `address` = '" . $address . "', `phone` = '" . $phone . "', `fax` = '" . $fax . "', `email` = '" . $email . "', `remarks` = '" . $remarks . "', `type` = '" . $system . "', `status` = '". $status ."' WHERE `id` = '" . $id . "' ");
慕无忌1623718
繁星coding