Home >Backend Development >PHP Tutorial >php循环输出数据库内容的代码_php技巧

php循环输出数据库内容的代码_php技巧

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-17 09:37:021215browse

php do while方法

     一般需要先$row=mysql_fetch_array($result)
然后
do{
something
}
while($row=mysql_fetch_array($result))

php while循环

while($row=mysql_fetch_array($result)){

}

Statement:
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