Show method 2 _ PHP in the repeated area

Source: Internet
Author: User
Horizontal duplicate 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. clean and tidy 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 horizontally repeated content in a table























$ Endrw = $ HLooper1 _ index;$ NumberColumns = '3 ';$ Numrows = '3 ';While ($ numrows <> 0) AND (! $ Rsmpic-> EOF )){$ Startrw = $ endrw 1;$ Endrw = $ endrw $ numberColumns;?> EOF) {// start to repeat the content?> $ Startrw = $ startrw 1;$ Rsmpic-> MoveNext ();} // the above content repeats the td content?> Wend;} // The end of the duplicate content?>





Fields ('m _ path');?> "Border =" 0 ">





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. repeat horizontally in a neat way...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.