如何检查页面是否是最后一页? [英] how to check whether the page is the last page?

查看:109
本文介绍了如何检查页面是否是最后一页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

主机上有10个网页,

,例如001.html,002.html,003,html,004.html,...... 010.html

我想检查页面是否是最后一页。我该怎么办。

在index.html

-Go到最后一页,< ----我想把它链接到最后一页

page(010.html)。我可以做吗?怎么样?谢谢!

There are 10 webpages on the host,
e.g. 001.html, 002.html, 003,html, 004.html, ......010.html
I want to check whether the page is the last page. How can I do.
In the index.html
-Go to last page,<---- I want to link this to the last
page(010.html). Can I do it? How? Thanks!

推荐答案

fo * **********@gmail.com escribió:
fo***********@gmail.com escribió:

主机上有10个网页,

例如001.html,002.html,003,html,004.html,...... 010.html

我想检查页面是否是最后一页。我该怎么办。

在index.html

-Go到最后一页,< ----我想把它链接到最后一页

page(010.html)。我可以做吗?怎么样?谢谢!
There are 10 webpages on the host,
e.g. 001.html, 002.html, 003,html, 004.html, ......010.html
I want to check whether the page is the last page. How can I do.
In the index.html
-Go to last page,<---- I want to link this to the last
page(010.html). Can I do it? How? Thanks!



< a href =" 010.html">转到最后一页< / a>


。 ......但我很确定我错过了什么: - ?

-

- http://alvaro.es - álvaroG。Vicario - 西班牙布尔戈斯

- Mi sitiosobreprogramaciónweb:< a rel =nofollowhref =http://bits.demogracia.comtarget =_ blank> http://bits.demogracia.com

- Mi web de humor al ba?oMaría: http://www.demogracia.com
-

<a href="010.html">Go to last page</a>

.... but I''m pretty sure I''m missing something :-?
--
-- http://alvaro.es - álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al ba?o María: http://www.demogracia.com
--


5月29日,09:29,foolsmart2 ... @ gmail.com < foolsmart2 ... @ gmail.com>

写道:
On 29 May, 09:29, "foolsmart2...@gmail.com" <foolsmart2...@gmail.com>
wrote:

主机上有10个网页,

例如001.html,002.html,003,html,004.html,...... 010.html

我想检查页面是否是最后一页。我该怎么办。

在index.html

-Go到最后一页,< ----我想把它链接到最后一页

page(010.html)。我可以做吗?怎么样?谢谢!
There are 10 webpages on the host,
e.g. 001.html, 002.html, 003,html, 004.html, ......010.html
I want to check whether the page is the last page. How can I do.
In the index.html
-Go to last page,<---- I want to link this to the last
page(010.html). Can I do it? How? Thanks!



我不明白这与php有什么关系?

I don''t understand what this has to do with php?


fo *********** @ gmail.com 写道:

主机上有10个网页,例如
001.html,002.html,003,html,004.html,...... 010.html

我想检查页面是否是最后一页。我该怎么办。

在index.html

-Go到最后一页,< ----我想把它链接到最后一页

page(010.html)。我可以做吗?怎么样?谢谢!
There are 10 webpages on the host,
e.g. 001.html, 002.html, 003,html, 004.html, ......010.html
I want to check whether the page is the last page. How can I do.
In the index.html
-Go to last page,<---- I want to link this to the last
page(010.html). Can I do it? How? Thanks!



看看:glob(),sort()(甚至是natsort())和end()。

-

Rik Wasmus

.... spamrun完成

Look at: glob(), sort() (or even natsort()) and end().
--
Rik Wasmus
....spamrun finished


这篇关于如何检查页面是否是最后一页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆