Categories
How to merge data from one loop?
The table stores data with type photo and photoText How to organize it into one block. If only one foreach loop is used for output, but you need to write them somehow into a separate div
Answer the question
In order to leave comments, you need to log in
$result = ""; foreach ($arr as $key => $value) { $result += $value; } echo $result;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question