How to use line breaks for loop? How to use line breaks for loop? For example: first, we will send you a picture of the eyebrows that have not been painted or the eyebrows that have not been modified, which makes the whole person look uninspired. The short eyebrows are not commensurate with the eye makeup, it can be seen that eyebrow makeup is really important to the entire makeup. I would like to introduce you to the tools you need to use: a slightly stiff eyebrow pencil, an eyebrow knife, a scatter brush, and a flat brush. I will use a eyebrow knife to clean the hairs on both sides of the main line, make the main line of the eyebrows clearer. Next, use the eyebrow pencil to determine the eyebrow shape. how can we use the line feed for loop?
How to use line breaks for loop?
For example:
First, I would like to send you a picture of my eyebrows that have not been painted, and my eyebrows that have not been modified, so that the whole person may not look very spirited. The short eyebrows are not commensurate with the makeup, it can be seen that eyebrow makeup is really important to the entire makeup.
We will introduce you to the tools that you need to use: a slightly stiff eyebrow pencil, a razor, a split brush, and a flat brush.
Use a eyebrow knife to clear the hairs on both sides of the main line of the eyebrows, so that the main line of the eyebrows is clearer.
Next, use the eyebrow pencil to determine the eyebrow shape, use the eyebrow pencil similar to the hair color, and draft the eyebrow shape.
After the eyebrow is painted, use the eyebrow pencil to fill the box and smear it along the direction of the eyebrows to color the eyebrows.
How to add a sequence number before each sentence (line break) with a loop?
Share: More
------ Solution --------------------
$ S = <TXT
First, I would like to send you a picture of my eyebrows that have not been painted, and my eyebrows that have not been modified, so that the whole person may not look very spirited. The short eyebrows are not commensurate with the makeup, it can be seen that eyebrow makeup is really important to the entire makeup.
We will introduce you to the tools that you need to use: a slightly stiff eyebrow pencil, a razor, a split brush, and a flat brush.
Use a eyebrow knife to clear the hairs on both sides of the main line of the eyebrows, so that the main line of the eyebrows is clearer.
Next, use the eyebrow pencil to determine the eyebrow shape, use the eyebrow pencil similar to the hair color, and draft the eyebrow shape.
After the eyebrow is painted, use the eyebrow pencil to fill the box and smear it along the direction of the eyebrows to color the eyebrows.
TXT;
Foreach (preg_split ("/[\ r \ n] +/", $ s) as $ I => $ v ){
Echo ($ I + 1). $ v .'
';
}
1. first, I would like to send you a picture of my eyebrows that have not been painted, and my eyebrows that have not been modified, which makes the whole person look uninspired. my short eyebrows are not commensurate with my eye makeup, it can be seen that eyebrow makeup is really important to the entire makeup.
2. we will introduce you to the tools you need to use: a slightly stiff eyebrow pencil, a razor, a split brush, and a flat brush.
3. Use a eyebrow knife to clear the hairs on both sides of the main line of the eyebrows, so that the main line of the eyebrows is clearer.
4. use the eyebrow pencil to determine the eyebrow shape, and use the eyebrow pencil similar to the hair color to draft the eyebrow shape.
5. after The eyebrows are painted, fill the box with an eyebrow pencil, and apply them along the way of the eyebrows to color the eyebrows.
------ Solution --------------------
$ Str = <
First, I would like to send you a picture of my eyebrows that have not been painted, and my eyebrows that have not been modified, so that the whole person may not look very spirited. The short eyebrows are not commensurate with the makeup, it can be seen that eyebrow makeup is really important to the entire makeup.
We will introduce you to the tools that you need to use: a slightly stiff eyebrow pencil, a razor, a split brush, and a flat brush.
Use a eyebrow knife to clear the hairs on both sides of the main line of the eyebrows, so that the main line of the eyebrows is clearer.
Next, use the eyebrow pencil to determine the eyebrow shape, use the eyebrow pencil similar to the hair color, and draft the eyebrow shape.
After the eyebrow is painted, use the eyebrow pencil to fill the box and smear it along the direction of the eyebrows to color the eyebrows.
Txt;
$ I = 0;
Echo preg_replace ('/. +/em', '+ + $ I. "$0"', $ str );
If only the serial number is displayed, use ul and ol.