Home  >  Article  >  Backend Development  >  Code for php loop to output database content_PHP tutorial

Code for php loop to output database content_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:51:581229browse

php do while方法

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

php while循环

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

}

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/319008.htmlTechArticlephp 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