PHP Checkbox获取选中项与

简介:这是PHP Checkbox获取选中项与的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=341545' scrolling='no'>
 1 function gostrsplit($str,$str1) {
2 //$str 数据库里面查询出来的内容
3 //$str1 要对比的项的内容 $res =false;
4 $str_array = explode(",",$str);
5 for ($j = 0; $j < count($str_array); $j++) {
6 if($str_array[$j]==$str1)
7 {
8 $res = true;
9 }
10 }
11 return $res;
12 }

爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

http://biancheng.dnbcw.info/php/341545.html pageNo:6

posted on 2011-11-10 08:41  圣者  阅读(163)  评论(0编辑  收藏  举报

导航