toshow 发表于 2019-3-28 11:27:02

求救 有会php的吗 我dezend一段代码 报错了

有会php的吗我dezend一段代码
报错了第75行
特来万能的hostloc求救






[*]    $newstemptext = getbookbq( $classid, $newstemp_r, $add, $index, $docheckrep );
[*]    $expage = "[!--empirenews.page--]";
[*]    $pf = $emod_r[$mid]['pagef'];
[*]    $newstempstr = $newstemptext;
[*]    if ( $pf && strstr( $add[$pf], $expage ) )
[*]    {
[*]      $n_r = explode( $expage, $add[$pf] );
[*]      $thispagenum = count( $n_r );
[*]      $thefun = $public_r['textpagefun'] ? $public_r['textpagefun'] : "sys_ShowTextPage";
[*]      if ( strstr( $newstemptext, "[!--title.select--]" ) )
[*]      {
[*]            $dotitleselect = sys_showtextpageselect( $thispagenum, $dolink, $add, $filetype, $n_r );
[*]      }
[*]      $j = 1;
[*]      for ( ; do
[*] {
[*] $j 复制代码

就是 for ( ; do这一行报错

sotan 发表于 2019-3-28 11:30:30


002.gif
我看不懂

[*]for (init counter; test counter; increment counter) {
[*]code to be executed;
[*]}
[*]参数:
[*]
[*]init counter:初始化循环计数器的值
[*]test counter:: 评估每个循环迭代。如果值为 TRUE,继续循环。如果它的值为 FALSE,循环结束。
[*]increment counter:增加循环计数器的值复制代码

yemingtu 发表于 2019-3-28 11:37:23

你这循环里面套循环?

duyu 发表于 2019-3-28 12:35:43

我估计应该是[*]for ($j=0;$j 复制代码

toshow 发表于 2019-3-28 12:41:33

谢谢各位搞定啦
页: [1]
查看完整版本: 求救 有会php的吗 我dezend一段代码 报错了