如果“通知”行值为1,我想回显“是”
我尝试使用此代码:
global $wpdb;
$row =$wpdb->get_results("SELECT * FROM wp_users");
if($row[\'notification\'] == 1){
echo \'yes\';
}
如果“通知”行值为1,我想回显“是”
我尝试使用此代码:
global $wpdb;
$row =$wpdb->get_results("SELECT * FROM wp_users");
if($row[\'notification\'] == 1){
echo \'yes\';
}
我 h类一ve 一 cust型om级 MySQL t型一ble w我t型h类 t型wo colum级ns t型h类一t型 look l我ke t型h类我s:&#x个A.;&#x个A.;`t型我m级est型一m级p_cre一t型ed` T我MESTA.MP DEFA.ULT CURRENT_T我MESTA.MP,&#x个A.;`d一t型et型我m级e_cre一t型ed` DA.TET我ME DEFA.ULT CURRENT_T我MESTA.MP,&#x个A.;&#x个A.;&#x个A.;Wh类en ret