check if data inserted in database wordpress plugin

Solutions on MaxInterview for check if data inserted in database wordpress plugin by the best coders in the world

showing results for - "check if data inserted in database wordpress plugin"
Timote
06 Jan 2021
1$result_check = $wpdb->insert( $table, array("name"  => $name, "email" => $email));
2if($result_check){
3   //successfully inserted.
4}else{
5  //something gone wrong
6}