📜  更新查询 wordpress - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:35.481000             🧑  作者: Mango

代码示例2
$execut= $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_nicename = %d WHERE ID = %s", "Harde_Bande", 546 ) );
var_dump($execut);