php do while method
Generally you need to first $row=mysql_fetch_array($result)
and then
do{
something
}
while($row=mysql_fetch_array($result))
php while loop
while($row=mysql_fetch_array( $result)){
}
The above introduces the code of PHP loop output database content in the library, including the content in the library. I hope it will be helpful to friends who are interested in PHP tutorials.