php - Assembling a two-dimensional array into a string in a specific order
Get the solution ↓↓↓help, I can’t think of an algorithm for assembling an array, there is such an array
$f_v = [
// 0 => [
// 1 => [
// '1fv1',
// '1fv2',
// ]
// ],
2 => [
1 => [
'1fv1',
'1fv2',
],
2 => [
'2fv1',
'2fv2',
],
3 => [
'3fv1',
'3fv2',
]
]
];
I need to collect them into a string in the order in which they go in these arrays
/*
* 1fv1/2fv1/3fv1
* 1fv1/2fv2/3fv1
* 1fv1/2fv1/3fv2
* and so on....
* 1fv2/2fv2/3fv2 <- this should be the last combination
*/
Sorry if the question is stupid, but I've been sitting all day and can't figure out how to do it :(
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: property [id] does not exist on this collection instance.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.