-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不能运行的,应该是删了很多。很多变了都没有初始化 #2
Comments
不会啊 ,一致在运行,你可以去gitee,https://gitee.com/myitv/genealogy_familytree |
function sonTree() if($v["is_link"]==0){ # $v 未定义 |
数据库导入,配置修改好后应该是没问题的,没有删东西,目前其他人用也没提出说有问题,并且我服务器都换了三次,运行也没问题,你再查查,我本地环境phpstudy配置的也没问题
…------------------ 原始邮件 ------------------
发件人: "bigdee0621"<[email protected]>;
发送时间: 2020年4月7日(星期二) 中午11:02
收件人: "jiehu0992/5itv"<[email protected]>;
抄送: "爱视传媒"<[email protected]>; "Comment"<[email protected]>;
主题: Re: [jiehu0992/5itv] 不能运行的,应该是删了很多。很多变了都没有初始化 (#2)
不会啊 ,一致在运行,你可以去gitee,https://gitee.com/myitv/genealogy_familytree
function sonTree() if($v["is_link"]==0){ # $v 未定义
function lefttree() $categorylist.=sonTree($tree[$v["id"]],$tree,0,$type); $type 未定义
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
能运行只能说你解析器有问题。
}` |
我只会一点点php 版本为5.4的
…------------------ 原始邮件 ------------------
发件人: "bigdee0621"<[email protected]>;
发送时间: 2020年4月7日(星期二) 中午1:31
收件人: "jiehu0992/5itv"<[email protected]>;
抄送: "爱视传媒"<[email protected]>; "Comment"<[email protected]>;
主题: Re: [jiehu0992/5itv] 不能运行的,应该是删了很多。很多变了都没有初始化 (#2)
能运行只能说你解析器有问题。
这里的$v["is_link"] 没传参,没全局变量, 怎么运行?
`
function sonTree($arr,$tree,$level,$type){
$level++;
$ii=0;
foreach($arr as $k2=>$v2){
$ii++;
if($tree[$v2["id"]]){ $categorylist.="<li><a href=\"#\">".$v2["name"]."</a>\n"; $categorylist.="<ul>\n"; $categorylist.=sonTree($tree[$v2["id"]],$tree,$level,$type); $categorylist.="</ul>\n"; $categorylist.="</li>\n"; }else{ if($v["is_link"]==0){ $categorylist.="<li><a href=\"#\">".$v2["name"]."</a></li>"; } } } return $categorylist;
}`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
No description provided.
The text was updated successfully, but these errors were encountered: