会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
build code
工作中 开发琐事 随笔快记!
算法 字符串转换为以为数组
2012-11-08 11:31
freefei
阅读(
173
) 评论(
0
)
收藏
举报
[php] //处理用户提交的id $cp_uid=1,2,3,4,5, $stringuid=$_REQUEST['cp_userid']; $uids=substr($stringuid,0,strlen($stringuid)-1); // 去掉最后的逗号 $cpuid=explode(",",$uids);// 用户的uid 数组 [/php]
刷新页面
返回顶部
About
@ https://github.com/ranmufei
Pop Balloons Game - Free Online Stress Relief Game