如何循环输入,高手进来帮我看看
- PHP code
<!---ecms Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->function page($x){ $a=$x/10; $b=$x%10; if($x<10) { return 1;; } if($b == 0) { return $x-2; } else { return $x<p style="color:transparent">本文来源gao!%daima.com搞$代*!码$网3</p><strong>搞代gaodaima码</strong>-$b; }<?php $a=page($_GET['x']);for($i=$a;$i
现在的输出形式是1 2 3 4 5 6 7 8 9 10
我想这样输出
1
2
3
4
请高手帮我上面的代码改一下,谢了
——解决方案——————–
把写到$pages .= 里面