Isn't php concatenate strings useless? $ Str. $ array [$ I]. | .; & nbsp; this is my string concatenation. add an & nbsp; 'to each array element |. '& nbsp; character. after adding the entire string, only the end of the hand is signed, and there is no other place. why? ------ Solution -------------------- I copied your code and executed it! ------ Solution --------- php concatenate strings is useless?
$ Str. = $ array [$ I]. "| \. "; this is my string concatenation. add 'to each array element | \. 'character. after adding the entire string, only the end of the hand is signed and there is no other place. why?
------ Solution --------------------
I copied your code and executed it!
------ Solution --------------------
$ Str = '';
$ Array = array ('A', 'B', 'C ');
For ($ I = 0; $ I
$ Str. = $ array [$ I]."
------ Solution --------------------
\.";
}
Echo $ str;
Output:
------ Solution --------------------
\. B
------ Solution --------------------
\. C
------ Solution --------------------
\.
No problem.