給出2我卡在這裏它給我這個錯誤=(任何幫助警告:mysqli的準備::()期望的是1個參數,在
$link = mysql_connect("localhost","odyssexxxxxx","xxxxxxxx")
or die ("Could not connect :" . mysql_error());
// db
mysql_select_db("odysseus_matchcode",$link);
// ejecucion del query
if ($insert_stmt = $mysqli->prepare("UPDATE members SET (nombre, apellido, username, email, password, salt, telefono) VALUES (?, ?, ?, ?, ?, ?, ?) WHERE `cedula` = '$cedula'",$link)) {
$insert_stmt->bind_param('sssssss', $nombre, $apellido, $username, $email, $password, $random_salt, $telefono);
// Execute the prepared query.
$insert_stmt->execute();
}
您已經使用了'mysql'和'mysqli'函數的混合。 – DevZer0
代碼中的$ mysqli是什麼? – Achrome