判断指 指定值输出! php 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $n=$_GET['che'];define("A", $n);$b = '';if(A=='star'){$b = '1';}else if(A=='movie'){$b = '9';}else if(A=='tv'){$b = '10';}else if(A=='yue'){$b = '10';}else if(A=='zongyi'){$b = '12';}else if(A=='news'){$b = '15';}else if(A=='yanchu'){$b = '13';}else if(A=='fashion'){$b = '20';}else if(A=='astro'){$b = '23';}echo $b; $dict = array( 'star' => '1', 'movie' => '9', 'tv' => '10', 'yue' => '10', 'zongyi' => '12', 'news' => '15', 'yanchu' => '13', 'fashion' => '20', 'astro' => '23',);echo isset($dict[$_GET['che']]) ? $dict[$_GET['che']] : '' bugfree 输入日历下拉框的功能(PHP+js)火狐和opera实现,但IE6 smarty的原理是这样吗? 整个httpd.ini中两条规则不生效 php怎么调用其他类得方法? iphone手机应用请求post方式请求php接口时参数丢失 求几个简单的URL重写规则 求linux下的 ie6/7/8 集成版 怎么做好友系统???? 想学习做网站开发~是学习php还是python~我是新人 php实现@好友功能 discuz 想在门户首页自定SQL读取数据库信息,该怎么操作? razorflow使用过程中提示RFComponent不存在
$n=$_GET['che'];
define("A", $n);
$b = '';
if(A=='star'){$b = '1';}
else if(A=='movie'){$b = '9';}
else if(A=='tv'){$b = '10';}
else if(A=='yue'){$b = '10';}
else if(A=='zongyi'){$b = '12';}
else if(A=='news'){$b = '15';}
else if(A=='yanchu'){$b = '13';}
else if(A=='fashion'){$b = '20';}
else if(A=='astro'){$b = '23';}echo $b;
'star' => '1',
'movie' => '9',
'tv' => '10',
'yue' => '10',
'zongyi' => '12',
'news' => '15',
'yanchu' => '13',
'fashion' => '20',
'astro' => '23',
);
echo isset($dict[$_GET['che']]) ? $dict[$_GET['che']] : ''