📜  wordpress 选择查询 - 任何代码示例

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

代码示例1
$post_id = $wpdb->get_results("SELECT post_id FROM $wpdb->postmeta WHERE (meta_key = 'mfn-post-link1' AND meta_value = '". $from ."')");