求网址循环输出

WBOY
Release: 2016-06-23 13:26:16
Original
963 people have browsed it

求输出php代码
www.xxx.cn/?post=1
www.xxx.cn/?post=2
www.xxx.cn/?post=3
www.xxx.cn/?post=4
www.xxx.cn/?post=5
比如改成1000,就以输出1000个序列.谢谢.


回复讨论(解决方案)

for($i=1; $i<=1000; $i++)  echo "www.xxx.cn/?post=$i";
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template