首页
新闻
博问
专区
闪存
班级
我的博客
我的园子
账号设置
退出登录
注册
登录
苏恒锋
博客园
首页
新随笔
联系
订阅
管理
2012年5月24日
php 递归 无限级分类 返回数组
摘要:header("Content-type:text/html;charset=utf-8");$conn = mysql_connect('localhost','root','123456');mysql_select_db('test');mysql_query("set names 'utf8'");function getCate($pid = 0){ $sql = "select * from cate where pid=".$pid; $re
阅读全文
posted @ 2012-05-24 11:51 Falling Leaves
阅读(1211)
评论(0)
推荐(0)
编辑