Php horizontal repeat area display method 2. Method 1. note that there is a pre-defined Image record set rsmpic that needs to be repeated horizontally. please change it to your record set name based on your situation. neatly place the repeated content horizontally. Method 1. note that there is a pre-defined Image record set rsmpic that needs to be repeated horizontally. please change it to your record set name based on your situation. neatly place horizontally duplicated content in a table
$ NumberColumns = '3 ';$ Numrows = '3 ';While ($ numrows <> 0) AND (! $ Rsmpic-> EOF )){$ Startrw = $ endrw + 1;$ Endrw = $ endrw + $ numberColumns;?>
EOF) {// start to repeat the content?>
Fields ('m _ path');?> "Border =" 0 "> |
| $ Startrw = $ startrw + 1;$ Rsmpic-> MoveNext ();} // the above content repeats the td content?>
Wend ;}Method 2. drag the duplicate tag
(Vertical repetition is in |
), Add a variable, add 1 for each repeat, if % 3 is equal to 0 echo"
". Please take a closer look
Invalid. note that there is a pre-defined Image record set rsmpic that needs to be repeated horizontally. please change it to your record set name based on your situation. neatly repeat the content horizontally...