Rev 2 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 6 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | 22 | ||
23 | $s = count($expl)-$s-1; |
23 | $s = count($expl)-$s-1; |
24 | if ($s < 0) $s = 0; |
24 | if ($s < 0) $s = 0; |
25 | 25 | ||
26 | for ($i=$s; $i<count($expl)-1; $i++) { |
26 | for ($i=$s; $i<count($expl)-1; $i++) { |
27 | echo "[".str_pad($i+1, 4, '0', STR_PAD_LEFT)."] ".$expl[$i]; |
27 | echo "[".str_pad((string)($i+1), 4, '0', STR_PAD_LEFT)."] ".$expl[$i]; |
28 | } |
28 | } |
29 | 29 | ||
30 | ?> |
30 | ?> |
31 | 31 | ||
32 | <!-- <script> |
32 | <!-- <script> |