21,893
社区成员




$search_type = !empty($_REQUEST['store_search_cmt']) ? intval($_REQUEST['store_search_cmt']) : 0;
if(!empty($_REQUEST['store_search_cmt']) ){
$search_type = intval($_REQUEST['store_search_cmt']) ;
}else{
$search_type = 0;
}
就是判断$_REQUEST['store_search_cmt']这个值是否为空