PHP Loop code Four cycles

Source: Internet
Author: User

<! DOCTYPE HTML Public"-//W3C//DTD XHTML 1.0 transitional//en" "HTTP://WWW.W3.ORG/TR/XHTML1/DTD/XHTML1-TRANSITIONAL.DTD">"http://www.w3.org/1999/xhtml">"Content-type"Content="text/html; Charset=utf-8"/><title> untitled document &LT;/TITLE&GT;&LT;/HEAD&GT;&LT;BODY&GT;&LT;?php $a [0]['Tag']='and the wall of the nuclear strong wind,'; $a [1]['Tag']='year French woman likewise try'; $a [2]['Tag']='Japan Special Mandate hehe'; $a [3]['Tag']='The Fonvitte problem of roast lamb's leg hair smooth'; $a [4]['Tag']='which service ads let people'; $a [5]['Tag']='back to the hot month also take a look'; $a [6]['Tag']='Listen to the disturbed'; $a [7]['Tag']='The men and women grandmother helped'; $a [8]['Tag']='Naysayers Children'; $a [9]['Tag']=' hot Weather'; $a [Ten]['Tag']=' It's just.'; $a [ One]['Tag']='Hot heat and heat of the hair Shun Feng'; $a [ A]['Tag']='The unchanging distinction'; $a [ -]['Tag']='Classic Style'; $a [ -]['Tag']='not fully in full flood'; $a [ the]['Tag']='that Care'; $a [ -]['Tag']='Electric Hair Shun Feng Huff and puff Spit';/*$a [17][' tag ']= ' hot in the uneasy disturbed '; $a [18][' tag ']= ' Two-bit input password ';*/?> <?php//print_r (' rrrrrrrrrrrrrrr ');?><ulclass="playList"> <li> <?phpforeach($a as$key = $item) {?> <label for="list-0"><input type="checkbox"Value="32221"><?php Echo $item ['Tag'];? ></label> <?phpif(($key +1)%4==0&& $key <count ($a)-1) {?> </li><li> <?php}else if ($key +1)%4!=0&& $key ==count ($a)-1) {?> </li>                                                            <?php}?> <?php}?> </ul></body>

PHP Loop code Four cycles

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.