我正在编写一个将数据插入数据库的查询,但当我在输出处打印查询时,它会变成“显示tbl\\U名称中的列”查询。我正在写下面的问题。但它的执行方式如图所示
$table_name1 = $wpdb->prefix . \'fullcontact\';
$sql1=$wpdb->insert( $table_name1, array(
\'status\' => $status,
\'request_id\' => $req_id,
\'likelihood\' => $likelihood,
\'photos\' => $photos,
\'chats\' => $chats,
\'websites\' => $websites,
\'fullname\' => $fullname,
\'familyname\' => $familyname,
\'givenname\' => $givenname,
\'organisation\' => $organisation,
\'normalizedlocation\' => $normalizedlocation,
\'city\' => $city,
\'state\' => $state,
\'country\' => $country,
\'age\' => $age,
\'agerange\' => $agerange,
\'gender\' => $gender,
\'locationgeneral\' => $locationgeneral,
\'socialprofiles\' => $socialprofiles,
\'scores\' => $scores,
\'topics\' => $topics
) );
//exit( var_dump( $wpdb->last_query ) );
$wpdb->show_errors();
$wpdb->print_error($sql1);