重组文本框数据,按规则重新组成新数组

admin 2019-05-21 315 阅读 0评论

    //重组文本框数据,按规则重新组成新数组

    public function Arr_textarea($arr){

    foreach($arr as $areaname) {

    static $area = array();

    $areaname = trim($areaname);

    $area[] = $areaname;

    }

    foreach($area as $k=>$v){

    static $f = array();

    $new = explode('----',$v);

    $f[] = $new;

    }

    return $f;

    }

发表评论

快捷回复: 表情:
Addoil Applause Badlaugh Bomb Coffee Fabulous Facepalm Feces Frown Heyha Insidious KeepFighting NoProb PigHead Shocked Sinistersmile Slap Social Sweat Tolaugh Watermelon Witty Wow Yeah Yellowdog
提交
评论列表 (有 0 条评论, 315人围观)