📜  检查数据是否插入到数据库 wordpress 插件中 - PHP 代码示例

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

代码示例1
$result_check = $wpdb->insert( $table, array("name"  => $name, "email" => $email));
if($result_check){
   //successfully inserted.
}else{
  //something gone wrong
}