1
我使用Medoo但所知甚少的PHP,更新下面工作正常,但我只希望它當ClientID的匹配什麼是發佈更新:Medoo - 更新錶行匹配字段
$database->update("clientInfo", array(
"businessName" => $_POST['businessName'],
"contactName" => $_POST['contactName'],
"businessEmail" => $_POST['businessEmail'],
"businessPhone" => $_POST['businessPhone'],
"businessWebsite" => $_POST['businessWebsite'],
"businessAddress" => $_POST['businessAddress'],
"businessAddress2" => $_POST['businessAddress2'],
"businessCity" => $_POST['businessCity'],
"businessState" => $_POST['businessState'],
"businessZip" => $_POST['businessZip']
));
//$_POST["clientId"];
我使用PHP的一個較新的版本和我的語法有點困惑,這裏是它是如何與舊版本的PHP
確實沒有,謝謝! – user1572796