if(strpos($info['avatar'],'132132')){
$upgrade2=array();
$upgrade2['avatar'] = str_replace('132132', '132', $info['avatar']);
pdo_update('ewei_shop_member', $upgrade2, array('id' => $info['id']));
}
加入代码即可
网友评论