select 地区名 from 帖子 tz left join 地区 dq on tz.地区代码=dq.地区代码 on tz.帖子名称='aaa';
我的代码是 $sgsc_res = $db->exe_sql("select `f_title`,`f_cun`,`f_date`,`f_url`,`f_name`,`b_name` from `user_info_input` full join `burg` on `user_info_input.f_cun` =`burg.b_coding` where `f_cun` like '".$sheng_shi."%' and `f_classes` = 'sgsc' and `f_type` = '".$_GET["s_r"]."' order by `f_date` desc limit 0,5");
select 地区名 from 帖子 tz left join 地区 dq on tz.地区代码=dq.地区代码 on tz.帖子名称='aaa';
我的代码是
$sgsc_res = $db->exe_sql("select `f_title`,`f_cun`,`f_date`,`f_url`,`f_name`,`b_name` from `user_info_input` full join `burg` on `user_info_input.f_cun` =`burg.b_coding` where `f_cun` like '".$sheng_shi."%' and `f_classes` = 'sgsc' and `f_type` = '".$_GET["s_r"]."' order by `f_date` desc limit 0,5");
但是取不到值,