Answer the question
In order to leave comments, you need to log in
How to append to an associative array between elements?
There is an array img_array=[];
data is written as follows img_array[id]=[urls];
Data looks like this:
green:["img/img1.jpg"]
white:["img/img2.jpg"] balck
:["img/img4.jpg"]
blue:["img /img3.jpg"]
So here's how to add data between the white key and balck while keeping the order?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question