目前我的代码有效,数字1,2,3只是让脚本转到下一页,
$start = array(1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31);
foreach ($start as &$p) {
//
做某事
//
然而这些都是固定的,让我说我只想转到第5页我该如何做1,2,3,4,5? 我试过了 $ n =" 5&#34 ;;
$start = array($n);
foreach ($start as &$p) {