Php specifies how to insert data in a loop.

Source: Internet
Author: User
Php specifies to insert data into a php loop in a loop and specify to insert other data into a loop. for example, if the result of a loop is ABCDEFG, insert 3 between B and C: how to write the AB3CDEFG loop and insert statement? ------ Solution ------------------ the discussion may not be clear. the result after the loop is as follows: & lt; dd & gt; 1 & lt; dd & gt; & lt; dd & php specifies to insert in a loop
In a php loop, specify to insert others into a loop,
For example, the result of the loop is: a B c d e f g, to insert 3 between B and C, to a B 3 C D E F G
How to write loop and insert statements?

------ Solution --------------------
Discussion

It may not be clear. the result after the loop is as follows:
1

2

3

4

5

6

7


To achieve the following in the loop result:
1

2

3

4

5

......

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.