csjoz11

导航

AddWhere


function AddWhere($str)
{
global $where;
if ($where) return $where." and $str ";
else return $str;
}

    function AddWhere($str,$where='')
{
// global $where;
if ($where) return $where." and $str ";
else return $str;
}

$where =$this->AddWhere("area = '南山区'",$where);

posted on 2017-07-27 11:24  csjoz11  阅读(254)  评论(0编辑  收藏  举报