Two methods for displaying horizontal repeating areas_PHP tutorial
WBOYOriginal
2016-07-20 11:05:26822browse
Method 1. Note that there is a predefined picture record set rsmpic. The pictures that you want to repeat horizontally are the pictures. Please change the name of your record set according to your situation. Neatly put the horizontally repeated content in a table
), and add a Variable, increment by 1 every time it is repeated, if %3 is equal to 0 echo a "
" . Please look carefully
< ?php do { //Start repeating?>
.< ;?php echo $row_Recordset1['NAME']; ?>
"; ?> ;
http://www.bkjia.com/PHPjc/445123.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445123.htmlTechArticleMethod 1. Note that there is a predefined picture record set rsmpic. The pictures you want to repeat horizontally are pictures. Please follow your to your recordset name. Neatly place the horizontal repeating content...
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